The question fits in the title. I am not interested in what the spec recommend but what the mix of browsers currently deployed support the best.
Google Docs gzips their JS.
The Google AJAX Libraries API CDN gzips JS.
Yahoo gzips the JS for their YUI files.
The Yahoo home page gzips their JS.
So I think that the answer to my question ...
We have a system that makes calls to a web service across a proxy. This is coded in C#, using HttpWebRequest. We've had problems with the speed of these calls for a long time, and I'd been trying to track it down. An unrelated conversation led to one of the operations guys to mention that the port we had been going over used firewall sof...
I'm implementing a REST API using ASP.NET MVC, and a little stumbling block has come up in the form of the Expect: 100-continue request header for requests with a post body.
RFC 2616 states that:
Upon receiving a request which
includes an Expect request-header
field with the "100-continue" expectation, an origin server M...
Occasionally users of our web application encounter the following error message:
Request Entity Too Large
The requested resource
/ourapp/ourlocation/
does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.
We checked our logs, but we were unable to find any entries that ...
We already know deflate encoding is a winner over gzip with respect to speed of encoding, decoding and compression size.
So why do no large sites (that I can find) send it (when I use a browser that accepts it)?
Yahoo claims deflate is "less effective". Why?
I maintain HTTP server software that prefers deflate, so I'd like to know if ...
Hello,
Am currently considering using REST access to Nirvanix online storage to store/download files. However, Nirvanix also offers NFS access to the network storage.
I was wondering if there are any known benchmarks or protocol-specific reasons for choosing REST over NFS?
thanks.
...
My feeling is that Content-Type negotiation is one of those "should do" things for REST, but most frameworks, tools and apps punt on it - and don't, as far as I know.
Is this true?
What REST programming frameworks support content-type negotiation?
Should I expect it to broaden in usefulness? Will it become more common in REST framew...
I've got python code of the form:
(o,i) = os.popen2 ("/usr/bin/ssh host executable")
ios = IOSource(i,o)
Library code then uses this IOSource, doing writes() and read()s against inputstream i and outputstream o.
Yes, there is IPC going on here.. Think RPC.
I want to do this, but in an HTTP fashion rather than spawning an ssh.
...
Assume you have an html form with an input tag of type 'file'. When the file is posted to the server it will be stored locally, along with relevant metadata.
I can think of three ways to determine the mime type:
Use the mime type supplied in the 'multipart/form-data' payload.
Use the file name supplied in the 'multipart/form-data' pay...
How do I use Python to make an HTTP request through a proxy?
What do I need to do to the following code?
urllib.urlopen('http://www.google.com')
...
It's easy enough to find the flv file on sites that use http to serve it up, but what about when they use RTMP?
...
Hello every one, I am getting a problem while fetching data. Its giving CFHTTPMessageGetResponseStatusCode(response) as 302 . can any one help me to solve this
problem. Thanks in advance,
...
I've started to try out BizUnit and noticed that the Http Request Response have a URL of BTSHTTPReceive.dll?ReqResp
I can't find anything in the doc's about using the ?ReqResp
Is this needed?, or does it add some value?
...
I have added the following line in my Apache httpd.conf: -
AddOutputFilterByType DEFLATE text/html text/css application/javascript application/x-javascript application/json
I have a html file (test.html) with a script inclusion: -
<script type="text/javascript" src="/test.js"></script>
The problem is, every time I load test.html, t...
I'm allowing authenticated users to upload image files with my PHP application. Assume I've built in the necessary security to make sure the file itself is valid, is there a possibility of the http transmitted file to be intercepted in some way? If so, how can I protect the transmission of the file? Would HTTPS be the way to go?
Also, ...
The title says it all really, but to clarify what HttpContext.Current.Items is, it's a store that has a life span of the HTTP request.
I'd like to know the Classic ASP equivalent of this.
...
I'm trying to connect to a C# HTTP server with an iPhone app. Pretty simple code so far:
NSData *requestData = [ NSData dataWithBytes: [ requestMessage UTF8String ] length: [ requestMessage length ] ];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:infoURL]];
[request setValue:@"appl...
Using Basic Authentication, if the user has already logged in, the browser will include the username/password in the http request in the succeeding http requests ONLY IF it receives a 401 response containing an authentication challenge. Username/password is passed via Authorization header.
Is there a way to force the browser to always i...
I need to render a pdf while clicking a button.
i am using the following js code:
function RenderPDf() {
//for
window.open("/Resources/RenderPDF", "", 'toolbar=no,titlebar=no, directories=no, location=no,status=yes, menubar=no, resizable=yes, scrollbars=yes,width=1010, height=680,left=0,top=0');
ret...
I need to communicate with legacy php application. The API is just a php scripts than accepts get requests and return a response as XML.
I'd like to write the communication in C#.
What would be the best approach to fire a GET request (with many parameters) and then parse result?
Ideally I would like to find something that easy as the...