dcsimg
java networking
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   swarup_desai
Posted On:   Monday, May 5, 2003 01:44 AM

Where i can get working code for Http "Conditional GET" demonstration?

Re: java networking

Posted By:   Daniele_Galluccio  
Posted On:   Tuesday, May 6, 2003 06:25 PM

doesn't adding a


If-Modified-Since: Thu, 06 Jan 1994 15:57:41 GMT

to the header of the request function?

Of course Conditional GET must be supported by the server.

So should you open the socket and sent a request like

GET /anHtmlPage.html HTTP/1.0[
]
If-Modified-Since: Thu, 06 Jan 1994 15:57:41 GMT[
]
[
]


between squares I've explicited the new line (note that request end with a blank line)


hope this helps.
About | Sitemap | Contact