This application is just a proof of concept and just passing time while I wait 
for my project to begin. So no real purpose, at least for now but could come in 
handy in the near future.

The proxy that the web browser is going through is an app that I made, 
basically a tcp listener on port 8889.

When a request comes in from the web browser the listener fires and gets the 
url it is requesting, encrypts it and calls a method on my web service passing 
the encrypted data as a parameter, it then decrypts and fetchs the data and 
returns a string with the raw html content.

if the web browser is expecting something other than a string that could be my 
issue. I tested the image url from google's banner on my web service and it is 
returning the image data, but as a string not byte[].

Could I check for the image request and return it as a byte[] and send that to 
my socket to send back to browser and be ok? I might try that real quick.


----------------------------------------------------------------------
The browser may be caching the image...

I would expect that a proxy would simply send back byte[].  Unless it's
some sort of smart proxy, it should only know that data is going through
it, not what type the data is.

It could detect the type of the request and send data back in a specific
way...

Is there something specific you're trying to accomplish with this proxy?

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to