Changes by Bharadwaj barbi.br...@gmail.com:
Added file: http://bugs.python.org/file22704/http_example2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12524
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ab4d403cb0c0 by Senthil Kumaran in branch '3.2':
Fix closes issue12524 - update http.client POST example with a working example.
http://hg.python.org/cpython/rev/ab4d403cb0c0
New changeset bc71fff2b6c7 by Senthil
Senthil Kumaran sent...@uthcode.com added the comment:
Thanks for the patch, Bharadwaj.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12524
___
Éric Araujo mer...@netwok.org added the comment:
1. 3xx codes are as fine as 200, IIRC.
2. Agreed, Roundup as very strange form parameters and URIs in general, but
that’s not something we can change.
3. Maybe the empty string would work? (It’s a URI reference which means “same
URI as the
Hello Eric,
On Tue, Jul 19, 2011 at 01:05:59PM +, Éric Araujo wrote:
Alternate idea: use example.org. People won’t be able to actually
run the example, but is it really important?
The whole idea is present a usable example. Please don't suggest
unusable example. example.org does not
Bharadwaj barbi.br...@gmail.com added the comment:
Newbie here. Please be patient.
When I tried using the POST form in this page, I ran into minor issues.
1. The form returns a 302 to the actual issue page. Some other example with 200
may be better.
2. The params are a little weird, with '@'
Changes by Bharadwaj barbi.br...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file22674/http_example.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12524
___
Georg Brandl ge...@python.org added the comment:
httpstat.us is has been registered quite recently, and is titled as an
experiment in the footer. I'd rather use something more likely to be
persistent. bugs.python.org seems a better choice.
--
___
Also, it does not say or advertise about POST, it gives examples for
GET. I find Ezio's suggestion using bugs.python.org as a good one.
___
Python-bugs-list mailing list
Unsubscribe:
Petri Lehtinen pe...@digip.org added the comment:
There's also http://httpstat.us/. You can send any request (also POST) to
http://httpstat.us/200 and it gives you a 200 OK response.
I recall seeing other similar services, but didn't find them quickly.
--
nosy: +petri.lehtinen
Bharadwaj barbi.br...@gmail.com added the comment:
Newbie to python dev.
This looks like a good issue to get started with and I am interested in
creating a patch.
What should the new URL be? python.org:80?
--
nosy: +barbi
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
You'll need a page that accepts POST requests, possibly returning some
meaningful value, and without side effects (e.g. adding messages is usually
done via POST, but we don't want a new message for every user that tries the
example).
Bharadwaj barbi.br...@gmail.com added the comment:
Is there someway to create a test page in python.org instead of an external
domain? This can ensure many people have access to it and will not become
defunct.
Please suggest next steps to proceed with this ticket.
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
FWIW the 'show issue' button on the left sidebar of http://bugs.python.org/
uses POST, so maybe you could send an issue number as request there to get back
the issue page.
--
___
Python tracker
New submission from Georg Brandl ge...@python.org:
The POST example in the httplib docs references musi-cal.mojam.com, which is
now defunct.
--
assignee: docs@python
components: Documentation
keywords: easy
messages: 140074
nosy: docs@python, georg.brandl
priority: low
severity: normal
15 matches
Mail list logo