Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No MapScript mechanism to process POST requests when not using cgi #2681

Closed
mapserver-bot opened this issue Apr 3, 2012 · 7 comments
Closed

Comments

@mapserver-bot
Copy link

Reporter: warmerdam
Date: 2008/07/04 - 16:45
Trac URL: http://trac.osgeo.org/mapserver/ticket/2681
Currently in non-cgi mapscript environments (such as when using php or python as a loaded module in Apache), it is not possible to process post requests because there is no mechanism to push the posted xml document into the msio subsystem.

To implement this, we would need to actually implement the msIO_bufferRead()
function in mapio.c, and add a function to push data into this buffer
(something roughly like msIO_getStdoutBufferString() and
msIO_getStdoutBufferBytes() from mapscript/swiginc/msio.i but in the
opposite direction).

While I understand what needs to be done, I'm not prepared to spend the time doing it since the need seems somewhat limited.

@mapserver-bot
Copy link
Author

Author: warmerdam
Date: 2008/07/04 - 16:47
NOTE: This issue only affects someone wanting to use POST requests to WxS
services from mapscript in a non-cgi environment (like mod_php or mod_python).

@mapserver-bot
Copy link
Author

Author: tomkralidis
Date: 2008/07/04 - 16:53
Frank: feel free to ping me for testing/etc.

@mapserver-bot
Copy link
Author

Author: keithmoss
Date: 2010/04/20 - 10:36
Ditto. If you want to work on implementing this I'm available for debugging and testing.

@ghost ghost assigned warmerdam Apr 5, 2012
@mapserver-bot
Copy link
Author

This is an automated comment

This issue has been closed due to lack of activity. This doesn't mean the issue is invalid, it simply got no attention within the last year. Please reopen with missing/relevant information if still valid.

Typically, issues fall in this state for one of the following reasons:

  • Hard, impossible or not enough information to reproduce
  • Missing test case
  • Lack of a champion with interest and/or funding to address the issue

@RousseauLambertLP
Copy link

I recently tested a WCS POST request in MapServer 7.6.2 with mapscript and it appears this issue is still valid.

Can I suggest we keep this issue open for a potential future fix ?

Thanks

@geographika
Copy link
Member

@RousseauLambertLP - see #6345 - you should be able to do this using the master branch,

@RousseauLambertLP
Copy link

Nice thanks a lot, I didn't see that one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants