Is it a requirement that RESTful interactions occur between physically separate clients and servers? i.e. does the interaction need to involve the network stack in some way? Is there any benefit to employing an HTTP-like "calling convention" between the various components of an application?
It seems to me that the benefits of REST, su...
As far as I know it is allowed by the HTTP spec to set more than one HTTP header with the same name. Is there any use case to do so (from client to server and vice versa)?
HTTP 1.1 Section 4.2:
Multiple message-header fields with
the same field-name MAY be present in
a message if and only if the entire
field-value for that hea...
Have been researching the best way to tap into a live stream already being broadcast by S4C here -
mms://media7.unique-media.com/s4c_uk_live
(will open in something like quicktime)
Need to know best practices to get this streamed to iPhone in development.
Any pointers?
...
i'm developing an application for blackbery, i'm displaying a webpage using Eclipse and net.rim.device.api.browser.field.* api when i click a submit buttom in a form i get this error "Unknown host http:80", can anyone helpme?
...
This ajax thing im working on is not doing what i tell it to do.
On the client JS side I alert everything that is sent through the request, and on the PHP side I print out everything that it receives. These two lists of variables are not the same. I do not understand why.
Here how I am sending the data (over post):
xhr.onreadystatecha...
When I run my NSURLRequest in Cocoa, I get a 303 HTTP error, which is a redirect. How can I pull the proper URL to redirect to? Is it in the error variable, or somewhere else?
...
Hi,
I'm implementing a Non-Blocking HTTP server in Java and decided to use pure Java NIO. I'm combining a NIO Selector with a small thread pool to perform the operations indicated by the selector.
Leaving the system choose the default selector (tested in Linux 2.6 epoll and Mac OS Snow Leo KQueue) and using Selector.select(TIMEOUT); I ...
Hi all,
Are there any HTTP protocol stacks implemented in C?
Thanks in advance.
Update: looking for client implementations.
...
Hello,
I was wondering if its possible with Google Analytics to send real-time HTTP notifications to say PHP when a user visits my website. If not, I am curious about any real-time notifications that Google Analytics can send to me when a user visits my site. Thanks!
EDIT::Just came across Piwik and it says that it is realtime... does ...
I am posting to Hudson server using curl from the command line using the following--
curl -X POST -d '<run><log encoding="hexBinary">4142430A</log><result>0</result><duration>2000</duration></run>' \
http://user:pass@myhost/hudson/job/_jobName_/postBuildResult
as shown in the hudson documentation..can I emulate the same thing using p...
<html>
<body>
<SCRIPT type="text/javascript">
var xmlHttp = new XMLHttpRequest();
var async = true;
xmlHttp.open("GET", "http://www.google.com", async);
if(async)
{
xmlHttp.onreadystatechange = function()
{
if(xmlHttp.readyState == 4)
{
if (xmlHttp.status==200) a...
Is there some secret and mystical way to change the value of my HTTP-request's referer, or at the very least, keep it from showing? Also, using a MitM page from another domain would not solve my issue, as you are now just submitting that other page's value.
This is not browser specific, I would need to do this on the HTML level.
The pr...
I have to use OAuth for my Android client and I have found that the learning resources are pretty rare or inadequate for this technology.
Does anybody know a good book/tutorial/online resource to learn OAuth?
Thank you.
...
We've got an XML-RPC server (implemented in python), and I'm trying to write a simple javascript app to send calls to it. Whatever library I make I seem to always get the error:
Unsupported method ('OPTIONS')
It's fair to say I don't understand the underlying protocols for XML-RPC and HTTP as well as I should. But what I do know is th...
Hello,
To reduce http requests, as well as make the rollout process easier for js/css files, I've setup my php app to do concatenation of js and css files. All included files are sequentially combined into one large file using 2 letter codes for each file (ex. home.js code = "AA"). To generate the names I combine all the codes in the or...
Please recommend a good network monitor that monitors all the Request and the responses made by my java program and gives me detail on the Headers.
...
I want to do a manual GET with cookies in order to download and parse a web page. I need to extract the security token, in order to make a post at the forum. I have completed the login, have read the response and extracted the cookies (3 pairs of (name,value) ). I then wrote the String containing the cookies like this:
CookieString="na...
Background:
Suppose I have a website that is hosted on http://www.example.com and the site has a lot of absolute internal links. Something happens that requires me to move the entire website to http://www.example.net with all other things remaining the same.
Obviously, I can do a global search and replace on the website code to fix thi...
When doing webpages, the client/browser decides if it updates a file like an image or .css or .js or if it takes that from the Cache.
In case of .aspx page it is the server who decides.
Sure, on IIS level or also using some HttpModule techniques I can change the headers of requests to tell the client if and how long a file should be ...
We can receive a HTTP request body in two ways:
call HttpReceiveHttpRequest with HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY set;
call HttpReceiveHttpRequest with HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY cleared and then call HttpReceiveRequestEntityBody.
In the first case an array of HTTP_DATA_CHUNKs is filled, in the second - the raw bytes buff...