I wonder if there is a .NET library that mimics a browser in terms of HTTP transactions. In other words I am going to make multiple GET/POST requests and I want the cookies to be persisted to a storage, so that consecutive request will be identified by the remote host. AFAIK cURL has support for this functionality.
...
With very simple caching semantics: if the params are the same (and the url is the same, of course), then it's a hit. Is that possible? Recommended?
...
I'm making a simple download service so a user can download all his images from out site.
To do that i just zip everything to the http stream.
However it seems everything is stored in memory, and the data isn't sent til zip file is complete and the output closed.
I want the service to start sending at once, and not use too much memory.
...
I want to create a class to handle all the HTTP connection work for other classes(in order to avoid writing codes repeatedly).
I call it ConnectionCenter(subclass of NSObject) and add the following codes to it:
-(void)connect:(NSString *)strURL obj:(ConnectCenter *)objConnect
{
NSURLRequest *theRequest=[NSURLRequest requestWithURL:...
When uploading files to a web server using HTTP post, are there any restrictions on the client side (for instance in popular browsers or in the HTTP protocol), that sets a hard boundary on how large a file can be uploaded ? If you know of any browser imposed restrictions, it would be nice if you include the browser version and, if possib...
The question is as it sounds - how to retrieve the client user's time zone based on their browser input? If it matters, server side, J2EE is used - but I don't think that really matters in this case. Right now, HTTP is the protocol, it may use HTTPS when it goes live.
...
According to the HTTP/1.1 Spec:
" The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line" i.e. Create.
" The PUT method requests that the enclosed entity be stored under the supplied Request-URI. If the ...
While porting a webapp from IIS/asp.net to HttpListener something struck me as rather strange.
While both have a concept of Context, Request and Response, the HttpListener variants share no common interface with the IIS/asp.net variants, despite the fact that the interfaces are almost identical.
In order to work around this, I have cre...
The awesome tool Web Development Helper allows me to see ALL the http requests from the browser (IE6/IE7) to the server. However the tool does not seem to work in IE8-RC1.
Does IE8 developer tools have a similar feature built in?
If yes, how do I access it?
TIA
rams
...
I'm looking for the best tool that allows me to construct my own http requests. Like the firefox addon poster.
Any suggestions. I'm looking at doing some security testing on webservices.
Thanks
...
I browsed to a page hosted by IBM and the page has a WSS extension... is this an IBM WebSphere page?
http://www-03.ibm.com/press/us/en/presskit/23540.wss
WebSphere is very similar to TomCat which hosts JSP (Java Scripting Pages). I'm thinking it's IBM's alternative to JSP...still no clue though.
...
How can I check the security of my website?
What are the best ways to avoid security holes?
...
I'm playing around, trying to write some code to use the http://tr.im
APIs (http://tr.im/api/) to shorten a URL.
After reading http://docs.python.org/library/urllib2.html, I tried:
TRIM_API_URL = 'http://api.tr.im/api'
auth_handler = urllib2.HTTPBasicAuthHandler()
auth_handler.add_password(realm='tr.im',
...
What is a good tool or site to use to performance test a web page/site? I am trying to find a good baseline to detect how fast my page will load on one hosting provider vs another. I initially used http://www.freespeedtest.com/ but like to get opinions and links for others.
...
I'm calling http_get_request_headers() in a PHP file on a server running PHP 5. However, I'm getting Fatal error: Call to undefined function http_get_request_headers(). Does anyone know what the problem might be? Does this function not come with plain PHP?
...
I'm writing some code that will need to speak to a web service over HTTP(s). In the past I've used the curl library. Recently, I noticed that I can simply use fopen() to access a remote URL and it seems far simpler.
Curl seems to be much more configurable, having a plethora of options. Beyond that configurability, does it matter whic...
I have a Map with my data and want to build a query string with it, just like I would with http_build_query on PHP. I'm not sure if this code is the best implementation of it or if I'm forgetting something?
public String toQueryString(Map<?, ?> data) throws UnsupportedEncodingException {
StringBuffer queryString = new StringBuffer()...
Do you know of a firefox plugin that records the http traffic I generate while browsing?
I would like something like firebug's net tab but it should not "restart" every time I click a new link.
...
Hi,
I am a systems guy and currently doing a part time web development project so am pretty new to it. I am trying to write a http client for www.portapower.com . Basically what it will do is check for certain items which are posted on the website and if they match a particular requirement it will print a message. While trying to access...
Hi,
My app needs to make a GET request to a website and I'd like to be able to know if it's being blocked by a firewall, and ask the user to add an exception.
How can I find out that my get request failed because of a firewall, instead of something else?
...