• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stuck making a simple HTTP proxy  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to make a simple HTTP proxy (works with 1.0 and GET method only). This is what I have so far, I'm not sure if I'm on the right track or not... Please see the comments in the code for where I am stuck thanks! This must work using firefox configured to proxy to localhost port xxxx (5555 in this example).



This is the parser class utilized in the above:

 
Ranch Hand
Posts: 146
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you writing a proxy server?  I'm not sure what the ProxyClient would do?
 
C Johnston
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Norman Radder wrote:Are you writing a proxy server?  I'm not sure what the ProxyClient would do?



A proxy server, that is bad naming on my part, sorry
 
C Johnston
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
heres what I've been working on, I think I have the structure right but it's not working so obviously there is something wrong in the syntax

 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!