Why does an HTTP PUT request have to contain a representation of a 'whole' state and can't just be a partial?
I understand that this is the existing definition of PUT - this question is about the reason(s) why it would be defined that way.
i.e:
What is gained by preventing partial PUTs?
Why was preventing idempotent partial updates c...
Specifically in JAX-RS (I'm not sure that is relevant) there are methods that allow you to add EntityTags to the response. What exactly are entity tags and what practical ways are they used?
...
In an application we are developing, I have access to a database table which gives me the path to some files that are available on a file server. This file server is accessible from the machine on which IIS is running. Is there a mechanism I can use to (on demand) copy a given file from the file server to the web server and make the file...
Sorry if this is duplicate,I would think it would be but couldn't find anything.
I have a flex application that I am posting data back to a php/mysql server via IE. I haven't run into any problems yet, but knowing this ahead of time might save me a bunch of frustration and work. Is there a size limit to posting data via http?
This art...
I'm guessing Yes, but I'm not sure.
Both Authenticated Sessions and Anonymous Sessions would reference the stored sessions via the cookie.
########### edit: Clarify
It seems that sessions require some way of referencing for the stored session data.
This reference could be stored in a cookie OR added as a parameter in the URL.
...
I have a situation that seems to fit the Async Servlet 3.0 / Comet situation but all I need to do is return a 200 response code (or other) after accepting the incoming parameters.
Is there a way for a HttpServlet to complete the http request/response handshake and yet continue processing?
Something like...
doPost( req, response ) {
...
Hi-
I am trying to find out more low-level details on the HTTP requests that various JS/AJAX frameworks create when sending JSON POST requests to the web server. I am looking most importantly for information on the following frameworks (but info about any other notable exceptions is appreciated): .net, jquery, prototype, DWR and MooToo...
Hi.
I need a python http client that can reuse connections and that supports consuming the stream as it comes in. It will be used to parse xml streams, sax style.
I came up with a solution, but I'm not sure it is the best one (there are quite a few ways of writing an http client in python)
class Downloader():
def __init__(self, h...
I created an application that parses content of secured areas of one webpage after account information input. It used GET method for loging in, so it was quite simple, I just used URL to log in.
Now it was changed to POST method and I wonder how to log in to that site? The login form uses 2 input tags of type text with names 'login' and...
I have to connect to a poorly implemented server that only understands Content-Type(capital-T) and not Content-type. How can I ask my JAX-WS client to send Content-Type?
I've tried:
Map<String, List<String>> headers = (Map<String, List<String>>)
((BindingProvider)port).getRequestContext().get(MessageContext.HTTP_REQUEST_HEADERS);
Bu...
I am trying so sniff a multi-part POST request using Wireshark. When viewing the capture I can select "Reassembled TCP" which looks to contain the header and all the data in the transmission. However I can't seem to select the entire thing to save it. If I go back to the frame view i can select the frame, which usually selects the entire...
Hi,
I'm working on a project, where users call a httpserver with some parameters (example: http://localhost:5000/asdf?test=123&test2=1234).
The Server should then print the parameters onto a cardprinter.
Until last week i used a TCP Server socket for hosting the server and a DocPrintjob for printing. Now I try to do the same by using...
I am looking for a way to serve HTTP (and do HTTP requests) in an asynchronous, non-blocking fashion. This seems to be hard to do when you’ve decided on Stackless Python 3.1 (also see here for docs) as i did.
There are some basic examples, like the pretty informative and detailed article How To Use Linux epoll with Python, and there is...
Hi,
I would like to automatically generate image from *.gv files in a browser.
I am using webdot CGI script to do this.
This works with URLs like these:
http://localhost/cgi-bin/webdot/path_to_file/file.gv.dot.png
location of the CGI script:
http://localhost/cgi-bin/webdot/
file to render:
/path_to_file/file.gv
rende...
I have a table with lots of generic link from a DB.
Now the customer wants to restrict certain types to be linked (or showed). Changing the page that makes the links is very hard, so I want to show some alert to user but would be ideal that the browser stays in the page, instead of navigation to an empty one and force the user o press b...
Hi.
I have the URL of a text file and I want my Java program to read that text file.
But the plot thickens! The file is constantly being appended with new lines and I want to read these lines as they come in.
I think the right approach is to open a URLConnection to the URL of the file and somehow put that URLConnection under the 'supe...
So, lets say I'm writing a web server and I want to support "very large" file uploads. Lets further assume that I mean to do this via the standard multipart/form-data MIME type. I should say that I'm using erlang and that I plan to collect http packets as they are returned from erlang:decode_packet/2, but I do not want to actually coll...
Hi there,
Is there way to get the browser to always load any swf files before everything else on a page (exept the external css and swfobject.js). Using Firebug's Net statistics I can see the swf files generally load last.
We have all our external js files inserted at the bottom of the page to help loading times.
If this is a little v...
Hi i am new to grails , i want to create connection to host like(http://ed.yeditepe.edu.tr) with some parameters taken from user(username and password) and then send this parameters with post connection to that host(ed.yeditepe.edu.tr) and make user login to system , any code sample or document for that (by the way user browser must be i...
I'm trying to share a single httpd.conf file across multiple OS X machines. I'm using Dropbox to manage the file and make it available to both machines. The problem I'm having is that the httpd.conf file has to load virtual host config files from a location within my home directory and the path is different on each machine.
I tried refe...