Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81068
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <cameron@cskk.homeip.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'insert': 0.05; 'soap': 0.07; 'subject:getting': 0.07; 'expected.': 0.09; 'http': 0.09; 'worked.': 0.09; 'api': 0.11; 'cc:addr:python-list': 0.11; 'python': 0.11; '>in': 0.16; '>the': 0.16; 'api,': 0.16; 'diagnostic': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message- id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'simple.': 0.16; 'simpson': 0.16; 'wrote:': 0.18; 'subject:request': 0.19; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'headers': 0.24; 'proxy': 0.24; 'url:02': 0.24; 'header': 0.24; 'cheers,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'testing': 0.29; 'patch': 0.29; "i'm": 0.30; 'work.': 0.31; 'requests': 0.31; 'use?': 0.31; 'writes:': 0.31; 'supposed': 0.32; 'run': 0.32; 'subject:from': 0.34; 'tool': 0.35; 'test': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'received:com.au': 0.36; 'next': 0.36; 'shows': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'received:211': 0.38; 'does': 0.39; 'functional': 0.39; 'how': 0.40; 'took': 0.61; 'john': 0.61; 'content-disposition:inline': 0.62; 'provide': 0.64; 'between': 0.67; 'past,': 0.68; 'containing': 0.69; 'yourself': 0.78; 'calls,': 0.84; 'choices.': 0.84; 'gone.': 0.84; 'snapshot': 0.84; 'to:addr:gordon': 0.84; 'unacceptable': 0.84; 'passwords,': 0.91; 'subject:response': 0.91 |
| Date | Thu, 20 Nov 2014 21:17:01 +1100 |
| From | Cameron Simpson <cs@zip.com.au> |
| To | John Gordon <gordon@panix.com> |
| Subject | Re: Trouble getting full response content from PATCH request |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii; format=flowed |
| Content-Disposition | inline |
| In-Reply-To | <m4ijak$kmn$1@reader1.panix.com> |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| References | <m4ijak$kmn$1@reader1.panix.com> |
| X-Optus-CM-Score | 0 |
| X-Optus-CM-Analysis | v=2.1 cv=fvDlOjIf c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=J0QyKEt1u0cA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=5y4faFyK3SkA:10 a=VUfPOBp7AAAA:8 a=8AHkEIZyAAAA:8 a=rQonJ6u1AAAA:8 a=bgCCmXm1VpPDdySS1o4A:9 a=CjuIK1q_8ugA:10 a=FhmJ5ZN0JQ0A:10 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16012.1416479675.18130.python-list@python.org> (permalink) |
| Lines | 37 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1416479675 news.xs4all.nl 2948 [2001:888:2000:d::a6]:45107 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:81068 |
Show key headers only | View raw
On 19Nov2014 17:17, John Gordon <gordon@panix.com> wrote: >In <mailman.15988.1416366536.18130.python-list@python.org> Cameron Simpson <cs@zip.com.au> writes: >> >The API uses the HTTP PATCH operation to set user passwords, and in >> >case of unacceptable passwords, the response is supposed to be an HTML >> >document containing a diagnostic message in the <body> tag. >> > >> >When I submit my test data via a functional testing tool (SoapUI), it >> >behaves as expected. >> > >> >However, when I submit test data from Python code, the response content >> >consists only of the diagnostic message, with no enclosing <html> or <body> >> >tags. >> [...] > >> You need a "SOAPAction: " HTTP header with SOAP requests. It may be that >> simple. > >The API does provide some SOAP calls, but the specific call I'm using is >REST. Is there a corresponding header I should use? At this point I have no idea; I took things to be SOAP because your SoapUI tool worked. My next suggestion would be to insert a proxy between yourself and the API, specificly so that you can run your working SoapUI test through it. Then you can get a snapshot of headers and requests that work. We've used Paros in the past, but a search for "debugging http proxy" on Google shows several choices. Cheers, Cameron Simpson <cs@zip.com.au> The ten thousand things How long do any persist? Netscape, too, has gone. - Haiku Error Messages http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Trouble getting full response content from PATCH request John Gordon <gordon@panix.com> - 2014-11-17 20:26 +0000
Re: Trouble getting full response content from PATCH request Cameron Simpson <cs@zip.com.au> - 2014-11-19 14:08 +1100
Re: Trouble getting full response content from PATCH request John Gordon <gordon@panix.com> - 2014-11-19 17:17 +0000
Re: Trouble getting full response content from PATCH request Cameron Simpson <cs@zip.com.au> - 2014-11-20 21:17 +1100
csiph-web