Re: help re error: "Method Not Allowed: The POST method is not supported for URLs of class HTTP-SEARCH"
"John C. Mallery" <[email protected]> Tue, 1 Jun 2004 13:43:02 -0400
| Newsgroups | gmane.lisp.cl-http |
|---|---|
| Message-ID | <p06020403bce26f31f45d@[10.0.1.2]> |
Your difficulty probably has to do with the order in which you intern the URLs for export. You need to export the URL only with the correct export type, and then reference the URL later. Specialized export types use specialized classes to deliver functionality. You probably want to get a backtrace of the error by setting up automatic error reporting at their site. This will give you a better idea of what is going on. At 9:54 AM -0400 5/29/04, Mark Klein wrote: >I have a puzzling problem which I need to solve very soon. I am running cl-http 70.190a on Mac OS X. > >I have written a server with some http-search methods that create fillout forms, e.g. > >(defmethod edit-service ((url url:http-search) stream) > ... > (html:with-fillout-form (:post #u"/pql/save-values" :stream stream) > ... > (html:accept-input 'html:submit-button "Submit" :stream stream)) > ... > >(http:export-url #u"/pql/edit-service?" > :search > :response-function #'edit-service) > >These posts are handled by http-form methods, e.g. > >(defmethod save-values ((url url:http-form) stream query-alist) > ... > (http:redirect-request http:*server* (http:merge-url (url 'home)))))) > >(http:export-url #u"/pql/save-values" > :html-computed-form > :form-function #'list > :response-function #'save-values) > >This works perfectly fine when I use it, for all the browsers and operating systems I have tried. > >BUT, when my colleagues in Zurich try to use it, using the same browsers and OS, they get the error: > > " Method Not Allowed: The POST method is not supported for URLs of class HTTP-SEARCH" > >Any ideas what is going on? I'd greatly appreciate some quick insights into this. > >-- >Mark Klein >Principal Research Scientist >Massachusetts Institute of Technology >77 Massachusetts Avenue, NE20-336 >Cambridge MA 02139 USA >[email protected]