Hi,
how can I view HTTP trace on an incoming request? I am sending test
HTTP
requests from my test application (app1) to my actually application
(app2)
but I am getting Recognition failed errors? There is nothing in the
app2
logs.
Greg
Hi,
how can I view HTTP trace on an incoming request? I am sending test
HTTP
requests from my test application (app1) to my actually application
(app2)
but I am getting Recognition failed errors? There is nothing in the
app2
logs.
Greg
Hi Greg,
Greg H. wrote:
how can I view HTTP trace on an incoming request?
Not sure exactly what you mean by ‘trace’ here. Are you using the ‘Live
HTTP Headers’ plugin for FF? If so, what info is it not giving you that
you
need?
Best regards,
Bill
Live headers doesn’t seem to be an option as I want to trace/capture the
HTTP from my App1 (a stub) to App2 (my application). So its App1 making
the
HTTP call to App2, not my browser.
My problem is (if anyone can help) that:
Code Used (which resides in App1 running on port 3001 - it’s calling
App2
running on port 3000)
url = “http://localhost:3000/mycontroller/myaction”
uri = URI.parse(url)
response = nil
Net::HTTP.start(uri.host, uri.port) do |request|
response = request.post(uri.path, postData)
end
Note that “response.body” here gives:
Action Controller: Exception caught <>Recognition failed for "/mycontroller/myaction"
Browser Test
Any ideas/help? I can’t seem to see what I’m doing wrong. Any way to
trace
the HTTP coming directly into App2 to see for myself what Rails is
doing?
What about a way to turn up the logging/trace for rails re HTTP?
Thanks in advance
Greg
(TextEdit / MacBook)
On 3/4/07, Bill W. [email protected] wrote:
you
need?Best regards,
Bill
Hi,
how can I view HTTP trace on an incoming request? I am sending test
HTTP
requests from my test application (app1) to my actually application
(app2)
but I am getting Recognition failed errors? There is nothing in the
app2
logs.
Greg
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs