Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-08

HttpApplication errors

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

Hi, I'm trying to create an HTTP server application using Project->New->HTTP server Application, then adding a simple action.

When I call http://localhost:8080/TurnosModule/getTurnos from a web browser (Chrome), I get a bunch the exceptions detailed here:

1 - Resource "TCustomHTTPModule" not found

2 - Resouce "TSessionHTTPModule" not found

3 - Resource "TCustomFPWebModule" not found

4 - Resource "TFPWebModule" not found

5 - Missing HTTP protocol version in request

I attached the project for you to test.

What I'm doing wrong?.

Leonardo M. Ram? http://leonardorame.blogspot.com -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tar.gz Type: application/x-tar-gz Size: 1743 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110823/4d64e9dd/attachment-0001.bin>

Reply by email

Michael Van Canneyt
to Leonardo M. Ramé
Leonardo M. Ram? wrote 20 lines
Hi, I'm trying to create an HTTP server application using Project->New->HTTP server Application, then adding a simple action. When I call http://localhost:8080/TurnosModule/getTurnos from a web browser (Chrome), I get a bunch the exceptions detailed here: 1 - Resource "TCustomHTTPModule" not found 2 - Resouce "TSessionHTTPModule" not found 3 - Resource "TCustomFPWebModule" not found 4 - Resource "TFPWebModule" not found 5 - Missing HTTP protocol version in request I attached the project for you to test. What I'm doing wrong?.

It works just fine here. I get 'Turnos' as output.

Do you get these exceptions in the browser, or just in the debugger ? Because the exceptions 1-4 are normal in the debugger. (5 is another matter)
They are caught and handled by the resource system.

Michael.

Reply by email

Leonardo M. Ramé
to Michael Van Canneyt
Michael Van Canneyt wrote 28 lines
On Tue, 23 Aug 2011, Leonardo M. Ram? wrote: >Hi, I'm trying to create an HTTP server application using Project->New->HTTP server Application, >then adding a simple action. > >When I call http://localhost:8080/TurnosModule/getTurnos from a web >browser (Chrome), I get a bunch the exceptions detailed here: > > >1 - Resource "TCustomHTTPModule" not found > >2 - Resouce "TSessionHTTPModule" not found > >3 - Resource "TCustomFPWebModule" not found > >4 - Resource "TFPWebModule" not found > >5 - Missing HTTP protocol version in request > >I attached the project for you to test. > >What I'm doing wrong?. It works just fine here. I get 'Turnos' as output. Do you get these exceptions in the browser, or just in the debugger ?

In the debugger.

Because the exceptions 1-4 are normal in the debugger. (5 is another matter) They are caught and handled by the resource system.

So, I can add them to the ignore list?.

Reply by email