Re: XMLRPC Question



On Jul 7, 2008, at 15:40 PM, Michael Neumann wrote:
Michael Taras wrote:
However, when I run that script it errors out on the line with
server.call in it. The error that it spits out is:
/usr/local/lib/ruby/1.8/net/http.rb:2019:in `read_status_line': wrong
status line: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
(Net::HTTPBadResponse)

Just from my research, it seems that the error is popping up
because the
code is trying to match the xml definition line to an HTTP response
code, which of course is not working. My guess is that the server is
not returning any sort of http status, and just the xml, but I'm
really
not sure. This is my first time messing with any xmlrpc stuff.

I think your analysis is correct. The server is returning the plain
XML
and not a HTTP request. Btw, what did you enter in telnet? And what
did
you got as a result from telnet?

I encountered the HEAD problem running RubyGems against a gem
repository on a misconfigured server. The HEAD request would return
ok, but a subsequent GET request would pick up the body that the
misconfigured server had left on the socket, so this second request
would fail.

In this case it would look like the server was sending a body with no
HTTP section, but it was really just left on the socket.

I've never used XML-RPC.

.



Relevant Pages

  • Re: breaking the model
    ... > The forms data then is in the Request object. ... HTTP Request; in this case, the form POST Request from the Page. ... client and server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [Full-disclosure] Multiple Vulnerabilities of PY Software Active Webcam WebServer
    ... It appers that the server does not use multithreading... ... Before the administrator press "Cancel" or "Yes",the other request ... > Multiple Vulnerabilities of PY Software Active Webcam WebServer ... > will be paused,that means the other user cannt Access the HTTP ...
    (Full-Disclosure)
  • httpedit: low-level interface to HTTP
    ... We just published httpedit, ... any of the data you are sending, e.g. when debugging an HTTP server ... By modifying the request and seeing the response on the same ...
    (Pen-Test)
  • Re: How to write something to a html textfield and send it?
    ... > No need for controlling any particular browser. ... I'm not familiar with HTTP user ... and building the request in your program. ... The server doesn't know anything about a textfield; ...
    (comp.programming)
  • Re: Http POST requests changed to GET by proxy?
    ... between the applet and the servlet engine. ... When our applet creates a HTTP connection to the server it uses ... unknown and creates an HTTP GET request, thus doGet will be called on ...
    (comp.lang.java.programmer)