Hi all,
How would i go about making a web server believe that i am using let's say Windows XP instead of Windows 7 via telnet?
I am thinking something along the lines of telneting to port 80 and issuing some commands but i am in doubt as to which.
Any help would be appreciated!
Jake
...
I'm trying to post some data to a server in Haskell and the server side is coming up empty.
I'm using the Network.HTTP library for the request.
module Main (main) where
import Network.URI (URI (..), parseURI, uriScheme, uriPath, uriQuery, uriFragment)
import Network.HTTP
import Network.TCP as TCP
main = do
conn <- TCP.openSt...
Hello everyone,
I am running a Perl application named bitlfu.For login it is using something like Apache HTTP Basic Auth but not a form.I want to make form for the login with username and password filed.
I have tried JavaScript and PHP with no results till now.
So I need help!
PS:
this kind of url works
http://user:[email protected]
...
I'm trying to access user's language preference w/o using server code.
I'm looking for some JavaScript like this:
var language_array = jQuery.languagePreferences();
//en-ca,en;q=0.8,en-us;q=0.6,de-de;q=0.4,de;q=0.2
I know I can use HTTP_ACCEPT_LANGUAGE on server side, but what about in JavaScript/JQuery client-side static (non-server...
Especially for the majority of browsers that don't support it, is there anything aside from just strict standards compliance that justifies the extra development time?
...
from RWH
http://book.realworldhaskell.org/read/extended-example-web-client-programming.html
The HTTP library used here does not read the HTTP result lazily. As a result, it can result in the consumption of a large amount of RAM when downloading large files such as podcasts. Other libraries are available that do not have this limitati...
I have series of curl commands that I want to translate into straight up HTTP requests.
I would like to use some live http utility that would record http requests made while I make the curl commands. And from this, I will translate the curl commands to their corresponding http requests.
Any recommendations?
...
Hi,
we currently have a strange problem. Some users report problems with our website. As we analyzed the problem, we saw some strange browser behaviors.
This is from our apache log (some parts removed):
Browser for all log entries: "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; 3.1)"
[21/Jun/2010:08:55:20 +0200] "GET /123xyz/ HTT...
Hi there,
i have a simple view in wich i'm saving a form.
the code seems 'clean',but i can't get rid of the error : "The view didn't return an HttpResponse object."
Though i've searched on the web, i did not find a relevant indication.
def classroom_privacy(request,classname):
theclass = Classroom.objects.get(classname=class...
The title of this question may be a bit misleading. I couldn't quite think of anything better.
Here is my problem. I am developing an Apache module that needs to manipulate a bit of content in the requested HTML document (this document can be a file on the disk or may be dynamically generated by CGI or PHP) and so I am using libxml2 wit...
The main page is www.myserver.com:80 and the ajax references www.myserver.com:8081.
The status code is 0 and the text is null. Is this a cross domain denial?
...
I read recently (I can't recall where, or I'd return to that source) that the misspelling of HTTP header field name Referer in the specification was intentional. Is that accurate? If so, why?
...
Hey,
I am a newcomer to the Python and Twisted game so excuse the ignorance I will likely be asking this question with. As a sort of first program, I am trying to write a basic HTTP server using twisted.web.sever which would simply print to screen the HTTP request, and then print to screen the HTTP response. I am trying to print the ent...
SimpleHttpConnectionManager being used incorrectly. Be sure that HttpMethod.releaseConnection() is always called and that only one thread and/or method is using this connection manager at a time.
Does Anyone know why this error shows up and is causes the files I want to download or to fail and retry or to download uncompleted
Thank yo...
I am trying to send an URL-encoded post to a REST API implemented in PHP. The POST data contains two user-provided strings:
WebRequest request = HttpWebRequest.Create(new Uri(serverUri, "rest"));
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded; charset=UTF-8";
request.Headers.Add("Content-Transfer-Encod...
I simply cannot believe this is quite so hard to determine.
Even having read the RFCs, it's not clear to me if a server at subdomain.example.com can set a cookie that can be read by example.com.
subdomain.example.com can set a cookie whose Domain attribute is .example.com. RFC 2965 seems to explicitly state that such a cookie will not...
I want to change first line of header, modifying the method and/or URL.
The (excellent) Tamperdata firefox plugin allows a developer to modify the headers of a request, but not the URL itself. This latter part is what I want to be able to do.
So something like...
GET http://foo.com/?foo=foo HTTP/1.1
... could become ...
GET http://b...
Is there a standard class that simply returns the response received from a URL given a URL?
Looking through the documentation, I found mx.servicetags.HTTPService, but I don't think it's what I'm looking for.
Update: The request is happening inside of a function and therefore that same function has to return the result. In other words, ...
I need the user of my Flex application to be able to save a snapshot of part of the UI to a local jpg file. I got the screenshot part down - can generate an image out of any given control. However, the only way I see to let the user save the image locally is to send to my server which would return it with the appropriate Content-Disposit...
Hi Guys,
I'm dealing with doubles and looking for the "double" equivalent of this...
ArrayList<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
nameValuePairs.add(new BasicNameValuePair("lat",lat));
nameValuePairs.add(new BasicNameValuePair("lng",lng));
edit// I'm making a HTTP request, I think need to map the lat val...