I wonder if it would be possible to save client state in an iFrame when going from one page to another in a RESTful application.
Example:
There is a navigation tree on the page and the user has elapsed and collapsed its nodes. When he clicks on a node the entire page changes, but the state of the navigation tree should be the same on t...
Hi friends,
I have an issue I'm having trouble :/ err404 page's 200OK header status problem, although it should be 404 header. what is wrong with having 200 OK? is there really anything like that 200 OK should be at 404 error page header status?
appreciate advises!! thanks a lot!
i guess it has sth to do with .htaccess. here is my ....
Is it possible to load content within an IFRAME that subsequently returns a 302 redirect, without having it redirect the entire browser window to the destination? I.e. limit the redirect to the IFRAME itself? If so, how?
EDIT1: To restate... i have an IFRAME, the source of which is a self-posting FORM. The action returns a 302 to somewh...
I am not sure if this is possible using standard web technologies.
I want the user to be able to download multiple files in a single action. That is click check boxes next to the files, and then get all the files that were checked.
Is it possible - if so what basic strategy do you recommend. I know I can use comets technology to create...
I found the quoted text in Programming Python 3rd edition by Mark Lutz from Chapter 16: Server-Side Scripting (page 987):
Forms also include a method option to specify the encoding style to be used to send data over a socket to the target server machine. Here, we use the post style, which contacts the server and then ships it a strea...
Hi,
In my controller the result of request.body.read is:
=============
--AJAX-----------------------1267183973160
Content-Disposition: form-data; name="1261400603_page_white_word.png"; filename="1261400603_page_white_word.png"
Content-Type: application/octet-stream
thefile
--AJAX-----------------------1267183973160
Content-Disposition...
What status code should I set for UPDATE (PUT) and DELETE (e.g. product successfully updated)?
Thx
...
I'm starting up a new embedded system design using FreeRTOS. My last one used eCos, which has a built-in HTTP server that's really lightweight, especially since I didn't have a filesystem. The way it worked, in short, was that every page was a CGI-like C function that got called when needed by the HTTP daemon. Specifically, you would ...
Hi there. basically, i was wiresharking packets on my PS3 while viewing Motorstorm Leaderboards. The leaderboards are sent to my ps3 in XML format but only after i have been authorised. So can someone please tell me what is happening between these three packets and how i could replicate it in a browser?
Packet 1 From my PS3 to Sony Serv...
I'm working with a custom webserver on an embedded system and having some problems correctly setting my HTTP Headers for caching.
Our webserver is generating all dynamic content as XML and we're using semi-static XSL files to display it with some dynamic JSON requests thrown in for good measure along with semi-static images. I say "semi...
I want to encode a URL such that it sends a POST request to a server. is that possible? and if so, how? I have searched around and mostly found that appending parameters to a url only sends them as parameters for GET request. is there a way to do that for POST request?
basically, i am trying to implement a CSRF (not for malicious but tes...
Hi all,
I'm currently using Mongrel to develop a custom web application project.
I would like Mongrel to use a defined Http Handler based on a regular expression. For example, everytime someone calls a url like http://test/bla1.js or http://test/bla2.js the same Http handler is called to manage the request.
My code so far looks a like...
I have some webserver resources protected with Form based Authentication. The requirement is to have some highly secure resources access result in forced authentication of the user even if he/she is authenticated earlier and have a valid cookie (authentication).
The authentication in a session is maintained by a particular cookie. The f...
I'm making http requests using winsock and I need to parse the html. The problem is that some sites I'm working with compress the html in gzip no matter what I specify in my request header. I've even tried downgrading the request to HTTP/1.0 with no success. So now I'm forced to actually decompress the gzip. However, Im having no success...
When transferring data in TCP, and given all the incoming and outcoming packets, how will one know if the packet received is the last of the data?
TCP packets are fragmented into smaller parts. I'm transferring over the HTTP protocol.
...
I have a web service on an insecure network that needs authorization.
I wish to implement it over HTTP, instead of HTTPS, at the same time evading man-in-the-middle and sniffing attacks. I need only one key for the client and the server.
The client calls a server function, and the server can authenticate whether this client is right, ...
I downloaded apple's demo for using HTTP POST and GET (Their sample app has a tabbar with different parts) and the code is so confusing!
Could anybody give me some sample code or a link to some tutorials about it? :)
Thanks!
...
I am using CakePHP "HttpSocket" class to post information to a Paypal payments server. My code is working fine when the target URL is http://www.something.com, I can parse the response as I would like.
However, when I am trying to post data to PayPals payment API URL (on HTTPS) I get no response whatsoever.
I have tried the same code o...
I have the following URL: /Login.aspx?ReturnUrl=Default.aspx#/mydesign
Request.QueryString["ReturnUrl"] only returns "Default.aspx".
Why doesn't it return "Default.aspx#/mydesign"?
...
Anyone know the list of available application/… media types? It is because my website will be having different types of downable documents such as doc, docx, txt, pdf etc.
I need to know the available application/… for the HTTP header.
...