redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Friday 03 September 2010 04:35

Ask your IT question here

jerichoHTML parser


Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Programming Forums -> JAVA programming forum
View previous topic :: View next topic  
Author Message
Shirley Kidman
Enthusiastic Coder


Joined: 21 Jun 2006
Posts: 30
Im sorry im a little lost when u refer to header, what part of my java program is the header?
Ok ill grab that one
Im just wondering where im specifying that info in my java prog at the moment
Or how i specify it.

Reply with quote
 
Nicolas Murphy
New Programmer


Joined: 30 Jun 2006
Posts: 12
Shirley Kidman, if you are using URLConnection you have to set headers on it...
Reply with quote
 
Shirley Kidman
Enthusiastic Coder


Joined: 21 Jun 2006
Posts: 30
Ok, it might have a default setting in the libraries somewhere already that was preset
Reply with quote
 
Nicolas Murphy
New Programmer


Joined: 30 Jun 2006
Posts: 12
Shirley Kidman, URLConnection.setRequestProperty can be useful...
Reply with quote
 
Shirley Kidman
Enthusiastic Coder


Joined: 21 Jun 2006
Posts: 30
But basically ill have to make that header, match the one that i receive when i browse to the page normally?
Ok
Thanks heaps Nicolas Murphy

Reply with quote
 
Nicolas Murphy
New Programmer


Joined: 30 Jun 2006
Posts: 12
Shirley Kidman, and please note that proxy-authentication headers of type Basic are base64 encoded
so they are just trivially scrambled clear text and trivial to get

Reply with quote
 
Shirley Kidman
Enthusiastic Coder


Joined: 21 Jun 2006
Posts: 30
Trivial as in impossible?
Reply with quote
 
Nicolas Murphy
New Programmer


Joined: 30 Jun 2006
Posts: 12
Shirley Kidman, trivial as in very easy
Reply with quote
 
Shirley Kidman
Enthusiastic Coder


Joined: 21 Jun 2006
Posts: 30
Ah
Reply with quote
 
Nicolas Murphy
New Programmer


Joined: 30 Jun 2006
Posts: 12
you take 3 bytes and create 4 bytes, just some bit shifting
just to make sure that the string is 7 bit clean

Reply with quote
 
Page 2 of 3 Goto page Previous  1, 2, 3  Next
Post new topic   Reply to topic    Programming Forums -> JAVA programming forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Based on phpBB © 2001-2010 RedHo