help re error: "Method Not Allowed: The POST method is not supported for URLs of class HTTP-SEARCH"
Mark Klein <[email protected]> Sat, 29 May 2004 09:54:32 -0400
| Newsgroups | gmane.lisp.cl-http |
|---|---|
| Message-ID | <p05230100bcde3da3979f@[192.168.1.100]> |
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]