Why System.Net.HttpListener creates a new process?
Why the HttpListener class creates a new web server process, instead of use the normal Socket and a HTTP implementation? ...
Why the HttpListener class creates a new web server process, instead of use the normal Socket and a HTTP implementation? ...
I am developing a web site in PHP and I am using mod-rewrite to implement a single point of entry in index.php. From there I am using a dispatch table to dynamically create content for each URL (can be from a DB or other means). I am not sure what is the correct way to treat URLs that are not in the dispatch table. I would like to retu...
I use the Fiddler proxy to debug all kinds of HTTP issues on Windows. It's great for inspecting headers and responses across multiple pages. Is there a good HTTP debugging proxy for Mac and Linux? I found Charles, but it's $50 once the trial runs out and it crashed on me. I could use Wireshark, but it's a pain. ...
I'm writing a small application which exposes a simple REST-ish HTTP API. I'm stuck trying to decide how to signal a failure due to a lack of authorization. The app does not have an API for authentication, but instead depends upon the presence of a cookie containing a session token obtained by the client via another service. The app v...
i have cgiproxy (http://www.jmarshall.com/tools/cgiproxy/), which lets users use it to navigate pages. it seems like myspace.com detects it and forwards the user to google.com doing a quick test to determine my ip using the proxy fails, meaning it doesn't reveal my ip. it shows proxy server's ip. <?php if (getenv("HTTP_X_FORWARDED_FO...
I´m having a problem setting a cookie and doing a 302 redirect In chrome the cookie is not being set (I haven't tested safari), in other browsers I was having the same problem until I added Path=/ to the cookie an now it works. This is how the header looks; the status is 302 Found Content-Type text/html; charset=iso-8859-1 Expires ...
I am having trouble getting Cocoahttpserver from Duesty Designs (awesome open source library makers of CocoaAsyncSocket) to serve images from my app bundle. Using the example iPhone project I can serve up an html file from the Resources dir in my project, but images refernced like: <img src='foo.png' /> are not rendered. Does anyone ...
Hello, How can I listen to data pushed by the server using http connection ? I dont want to use BES server. How this can be achieved? My Blackberry Os version is 4.5. ...
Possible Duplicates: What is REST? Does the WCF REST WebChannelFactory client support REST services that use redirects? What am I not understanding about REST? Possible Duplicates: What is REST [closed] What am I not understanding about REST? What is the REST command in HTTP? I know GET and POST, which used...
How do I accomplish HTTP Tunneling in C#/ASP.Net by making use of IIS Web Server as the mediator? The client application can either be in C#(standalone), C++(activex), or even Flash and Javascript from a browser. Is it correct to approach HTTP Tunneling as described above? If so do I need to poll (long polling/short polling) the web ...
How do I implement HTTP Streaming by utilizing IIS Web Server for my application in C#/ASP.Net? Do I need to poll the web server from the client? ...
How does VLC Media player implement HTTP Streaming? I am aware that, VLC Media player can be used as a streaming server and also a streaming client. My requirement is to stream(over HTTP) a proprietary protocol data from the server to clients and I am not comfortable with C/C++ code. I am comfortable with C# and Java. Can somebody ...
I have a situation where some users may come to mistyped pages, from links, etc. In most situations I can determine the correct page that should be displayed, so I want to redirect to the correct URL. Is a 301 Redirect appropriate in this case. 301 means "Moved Permanently", but in this case the document wasn't there in the first place....
Hi, how can I configure the username and password to authenticate a http proxy server using java? I just found the following configuration parameters: http.proxyHost=<proxyAddress> http.proxyPort=<proxyPort> https.proxyHost=<proxyAddress> https.proxyPort=<proxyPort> But, my proxy server requires authentication. How can I configure m...
This is *** unbelievable! Flash programmers are familiar with the example: var req:URLRequest = new URLRequest("http://yoursite.com/yourservice.ext"); req.method = URLRequestMethod.POST; req.data = new URLVariables("name=John+Doe"); var encoder:Base64Encoder = new Base64Encoder(); encoder.encode("yourusername:yourpassword"); v...
When is a space in a URL encoded to + and when is it encoded to %20? ...
lets say i want to go to http://example.com/something/a/few/directories/deep is there a way I can process this in PHP without having to make those directories? I just want to get everything after the domain name as a variable and work from there. ...
I'm working on a PHP project running on Windows and it would be so very handy to be able to use pecl_http rather than working with cURL and re-inventing the wheel in order to do all the cool stuff the pecl extenwion does like parsing headers and so forth. Everywhere I read (including the PHP site) is that the Windows binary for pecl_htt...
hello, i'm debugging some hidden http posts on my website. can you refer a free application that shows a console of the http posts happening on my PC? thanks! ...
how do you do it? Thanks! ...