I have a page with lots of small images (icons). When used with chrome, each time the page is reloaded, chrome requests each icon from the server with if-modified-since header.
All icons are served with expires and max-age headers. Firefox loads images from its cache.
Why is chrome doing that and how can I prevent it?
Thanks
...
Today I thought about why the Web traditionally is stateless - opening a connection, then close it as fast as possible.
I realized that this was the HTTP.
And soon we will have fully implemented web-sockets to use for live things.
So I thought, could websockets replace http in the future so that every connection made will be opened ti...
In CouchDB, to create a new document you send:
PUT /albums/70b50bfa0a4b3aed1f8aff9e92dc16a0
Isn't PUT used to update data and not creating it?
...
Hi all!!!
I try to get data from server http://someserver12345.com If i download it for example with C# DownloadString or open it in browser it returns body with data and from FireBug's log Content-Length is equal to data's size. So all results are ok; For example response data can be json documents and by opening in browser each time s...
I have a django web application that's running on apache 2.2.14 and I want to run the admin application over https.
Having read considerable discussions on using a proxy, writing middleware, running alternative wsgi scripts, the chaps in #httpd came to my rescue. The solution is so simple, I was surprised I didn't find it online, so ...
Hi All
I have been working using openFrameworks, on a problem that is posted on the forum:
www.openframeworks.cc/forum/viewtopic.php?f=8&t=4765
Essentially, I have used an an set of files, ofxHttpUtils, which uses poco to post to web forms.
The example code I have used is at:
github.com/arturoc/ofxHttpUtils/blob/gh-pages/example/src/te...
I have a web page where I redirect the user to if I see that IP is not valid. I want that user's browser will get no response but kept into waiting state, but I also want that my server thread is not blocked for that request. So the idea was that server will response quickly but the user' browser will put into waiting loop to discourage ...
Hi,
I have a RESTEasy service that returns a HTTP 500 when a server side error occurs. I manage to attach a body to the HTTP response in order to give more details about the error. So the response that comes out of the service looks something like this
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: applicat...
Hi, I am trying to send image from my midlet to an HTTP server. images are converted into byte
and sent to server using http multipart/form-data request format.
ByteArrayOutputStream bos = new ByteArrayOutputStream();
bos.write(boundaryMessage.getBytes());
bos.write(fileBytes);
bos.write(endBoundary.getBytes());
When the image size i...
I have an ASP.NET app running on a webserver. A third party is created another app in PHP which needs to send data to my app for processing.
Initially it was assumed that the PHP app would be deployed elsewhere so we agreed that the communication would occur over the internet via HTTP (over SSL). My app would simply use a generic handle...
I need a method that would allow me to read all the HTTP traffic on a local machine, and to change this traffic on-the-fly. Basically, I need to change the content on any web page opened in any browser at the machine.
Any thoughts?
...
Hi folks,
the user needs to provide a list of field/values through a form
class FieldForm(forms.Form):
field_name = forms.CharField()
field_value = forms.CharField()
The problem is how do I get a user to pass multiple of these with one submit?
Also as a side question... any tips on implementing editing too?
Any ideas? ...
In the Firebug Net panel, you can get a list of all HTTP requests made for the current page.
http://getfirebug.com/wiki/index.php/Net_Panel
Is there a way copy this list as text, so that I can paste it somewhere else for my own records? I’m doing some optimisation work, and it’d be really handy to save the requests made for pages bef...
We have restful api over HTTP. Amongst other clients we have also mobile-device clients (e.g. iphone). The issue is that there are several iphone apps in different versions out there (1.0, 2.0). Because they are distributed we don't have control which app-version is calling us.
To identify the app-version on server-side I see following...
"Basic YWRtaW46YW
RtaW4="
is right code for my address.I check on j2me project.
And on android my getbase64 method returns "Basic YWRtaW46YW
RtaW4=" its true.
and ı use it on:
httpConnection.setRequestProperty("Authorization",getBase64Encode());
Finally responce code is 401
any idea???
protected void connect() {
InputStream i...
We have a scenario where our iframe loads external src. There could be url response error. Since we are unableto read the response code we are unable to stop the processing.
We have a code some thing similar to
We should not be using ajax since we face some issues with cross domain functionalities
Please help....
...
I was trying to go to http://lustiges-taschenbuch.de which is a valid comic book site.
I mistyped the address as http://lustigestaschenbuch.de and was surprised to see my own apache localhost directory (!). This happens on two computers in Windows 7.
I checked my c:\windows\system32\drivers\etc\hosts file but it has nothing listed.
I...
I want to write a Perl script which calls a URL with certain parameters.
...
I defined a WCF implementation of REST service:
enter code here
[ServiceContract]
public interface IService
{
[OperationContract]
[WebGet(UriTemplate = "customers/{id}", ResponseFormat = WebMessageFormat.Json)]
Customer GetCustomer(string id);
[OperationContract]
[WebInvoke(UriTemplate = "customers", ResponseFormat ...
Hello Friends,
i want to call a webpage from jQuery and add the content to it to a div.
The downloaded data should not undergo any parsing, it should be in raw format.
I try to integrate the another application to my website.
I've done some experimenting and the code does a successful request, but
there seems there is no result display...