Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #25595 > unrolled thread
| Started by | Andrew Poulos <ap_prog@hotmail.com> |
|---|---|
| First post | 2014-07-31 15:34 +1000 |
| Last post | 2014-08-07 21:13 +0200 |
| Articles | 19 — 7 participants |
Back to article view | Back to comp.lang.javascript
XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-07-31 15:34 +1000
Re: XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-07-31 16:45 +1000
Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-31 09:58 +0200
Re: XHR giving 405 Scott Sauyet <scott.sauyet@gmail.com> - 2014-08-01 11:20 -0700
Re: XHR giving 405 JJ <jj4public@vfemail.net> - 2014-07-31 14:20 +0700
Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-03 00:08 +0200
Re: XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-08-03 15:10 +1000
Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-03 09:43 +0200
Re: XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-08-03 19:16 +1000
Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-03 19:16 +0200
Re: XHR giving 405 Andrew Poulos <ap_prog@hotmail.com> - 2014-08-04 07:29 +1000
Re: XHR giving 405 John Harris <niam@jghnorth.org.uk.invalid> - 2014-08-03 16:46 +0100
Re: XHR giving 405 Tim Streater <timstreater@greenbee.net> - 2014-08-03 16:51 +0100
Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-03 18:39 +0200
Re: XHR giving 405 John Harris <niam@jghnorth.org.uk.invalid> - 2014-08-04 15:08 +0100
Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-04 19:12 +0200
Re: XHR giving 405 John Harris <niam@jghnorth.org.uk.invalid> - 2014-08-06 14:25 +0100
Re: XHR giving 405 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-08-06 20:20 +0100
Re: XHR giving 405 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-07 21:13 +0200
| From | Andrew Poulos <ap_prog@hotmail.com> |
|---|---|
| Date | 2014-07-31 15:34 +1000 |
| Subject | XHR giving 405 |
| Message-ID | <9sadnbL6a8-KS0TOnZ2dnUVZ_tKdnZ2d@westnet.com.au> |
I'm using XHR to PUT data to a URL on IIS that looks like http://www.dummydomain.com/activities/state Alas the call returns HTTP Error 405.0 - Method Not Allowed The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used. Giving a full URL like http://www.dummydomain.com/activities/state/default.asp makes no difference. Using POST instead of PUT also makes no difference. Everything is on the one server. I'm unsure how to resolve this :-( Andrew Poulos
[toc] | [next] | [standalone]
| From | Andrew Poulos <ap_prog@hotmail.com> |
|---|---|
| Date | 2014-07-31 16:45 +1000 |
| Message-ID | <lO6dnTTxquI3e0TOnZ2dnUVZ_qWdnZ2d@westnet.com.au> |
| In reply to | #25595 |
On 31/07/2014 3:34 PM, Andrew Poulos wrote:
> I'm using XHR to PUT data to a URL on IIS that looks like
> http://www.dummydomain.com/activities/state
> Alas the call returns
>
> HTTP Error 405.0 - Method Not Allowed
> The page you are looking for cannot be displayed because an invalid
> method (HTTP verb) is being used.
>
> Giving a full URL like
> http://www.dummydomain.com/activities/state/default.asp
> makes no difference.
>
> Using POST instead of PUT also makes no difference.
>
> Everything is on the one server.
>
> I'm unsure how to resolve this :-(
Additionally, if I create a page with a form I can readily submit it to
http://www.dummydomain.com/activities/state
or
http://www.dummydomain.com/activities/state/default.asp
Andrew Poulos
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2014-07-31 09:58 +0200 |
| Message-ID | <4785283.8RWm67h8PR@PointedEars.de> |
| In reply to | #25597 |
Andrew Poulos wrote: > On 31/07/2014 3:34 PM, Andrew Poulos wrote: >> I'm using XHR to PUT data to a URL on IIS that looks like >> http://www.dummydomain.com/activities/state >> Alas the call returns >> >> HTTP Error 405.0 - Method Not Allowed >> The page you are looking for cannot be displayed because an invalid >> method (HTTP verb) is being used. >> >> Giving a full URL like >> http://www.dummydomain.com/activities/state/default.asp >> makes no difference. >> >> Using POST instead of PUT also makes no difference. >> >> Everything is on the one server. >> >> I'm unsure how to resolve this :-( <http://www.catb.org/~esr/faqs/smart-questions.html#idp54153392> > Additionally, if I create a page with a form I can readily submit it to > http://www.dummydomain.com/activities/state > or > http://www.dummydomain.com/activities/state/default.asp <http://www.catb.org/~esr/faqs/smart-questions.html#beprecise> -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not Cc: me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Scott Sauyet <scott.sauyet@gmail.com> |
|---|---|
| Date | 2014-08-01 11:20 -0700 |
| Message-ID | <d9d9c2c5-f6a6-4921-a512-7b56faea6536@googlegroups.com> |
| In reply to | #25597 |
Andrew Poulos wrote: > Andrew Poulos wrote: >> I'm using XHR to PUT data to a URL on IIS that looks like >> http://www.dummydomain.com/activities/state >> Alas the call returns HTTP Error 405.0 - Method Not Allowed >> [ ... ] >> Using POST instead of PUT also makes no difference. > Additionally, if I create a page with a form I can readily submit it to > http://www.dummydomain.com/activities/state Have you compared the requests you're sending in the two techniques? Either look at a browser's web developer console and see what you're sending in each case to determine if there what differences there are, or analyze the server logs (or debug the service, or whatever you can do server-side) to see how the two requests differ. Something must be different, because IIS has no idea that you're submitting one way or another except through what's actually in the request. -- Scott
[toc] | [prev] | [next] | [standalone]
| From | JJ <jj4public@vfemail.net> |
|---|---|
| Date | 2014-07-31 14:20 +0700 |
| Message-ID | <4e2chb4g81mw.3qus2sg5140u$.dlg@40tude.net> |
| In reply to | #25595 |
On Thu, 31 Jul 2014 15:34:22 +1000, Andrew Poulos wrote: > I'm using XHR to PUT data to a URL on IIS that looks like > http://www.dummydomain.com/activities/state > Alas the call returns > > HTTP Error 405.0 - Method Not Allowed > The page you are looking for cannot be displayed because an invalid > method (HTTP verb) is being used. > > Giving a full URL like > http://www.dummydomain.com/activities/state/default.asp > makes no difference. > > Using POST instead of PUT also makes no difference. > > Everything is on the one server. > > I'm unsure how to resolve this :-( > > Andrew Poulos This is not JavaScript issue. What you want to upload seems like a simple data, and not a resource. It shouldn't use PUT. Check the IIS documentations or that page's script.
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2014-08-03 00:08 +0200 |
| Message-ID | <1789411.yMKPfb8zHj@PointedEars.de> |
| In reply to | #25600 |
JJ wrote: ^^ Please post here using your real name in the From header field. > On Thu, 31 Jul 2014 15:34:22 +1000, Andrew Poulos wrote: >> […] >> Using POST instead of PUT also makes no difference. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> […] > > […] > What you want to upload seems like a simple data, and not a resource. It > shouldn't use PUT. […] Please look at what I marked above. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not Cc: me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Andrew Poulos <ap_prog@hotmail.com> |
|---|---|
| Date | 2014-08-03 15:10 +1000 |
| Message-ID | <ja2dncw4V82KWEDOnZ2dnUVZ_tadnZ2d@westnet.com.au> |
| In reply to | #25612 |
On 3/08/2014 8:08 AM, Thomas 'PointedEars' Lahn wrote:
> JJ wrote:
> ^^
> Please post here using your real name in the From header field.
>
>> On Thu, 31 Jul 2014 15:34:22 +1000, Andrew Poulos wrote:
>>> […]
>>> Using POST instead of PUT also makes no difference.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> […]
>>
>> […]
>> What you want to upload seems like a simple data, and not a resource. It
>> shouldn't use PUT. […]
>
> Please look at what I marked above.
I've been working with what's called the TinCan library from Rustici
Software to track some elearning courses. At around line 1,730 there's
this for browsers that don't support (what they've called) XDomainRequest:
if (pairs.length > 0) {
fullUrl += "/?" + pairs.join("&");
}
When I'm POSTing, pairs length is zero and so URL doesn't have a
trailing slash. I changed their code to
fullUrl += "/";
if (pairs.length > 0) {
fullUrl += "?" + pairs.join("&");
}
and POSTing now works.
Andrew Poulos
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2014-08-03 09:43 +0200 |
| Message-ID | <11731815.6KERGQWCj8@PointedEars.de> |
| In reply to | #25613 |
Andrew Poulos wrote:
> I've been working with what's called the TinCan library from Rustici
> Software to track some elearning courses. At around line 1,730 there's
> this for browsers that don't support (what they've called) XDomainRequest:
>
> if (pairs.length > 0) {
> fullUrl += "/?" + pairs.join("&");
> }
>
> When I'm POSTing, pairs length is zero and so URL doesn't have a
> trailing slash. I changed their code to
>
> fullUrl += "/";
> if (pairs.length > 0) {
> fullUrl += "?" + pairs.join("&");
> }
>
> and POSTing now works.
It is strange software where the trailing slash in a URI is necessary.
Do they encodeURIComponent() the elements of “pairs” before join()ing it?
--
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not Cc: me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Andrew Poulos <ap_prog@hotmail.com> |
|---|---|
| Date | 2014-08-03 19:16 +1000 |
| Message-ID | <1PqdndNVipAMY0DOnZ2dnUVZ_oydnZ2d@westnet.com.au> |
| In reply to | #25614 |
On 3/08/2014 5:43 PM, Thomas 'PointedEars' Lahn wrote:
> Andrew Poulos wrote:
>
>> I've been working with what's called the TinCan library from Rustici
>> Software to track some elearning courses. At around line 1,730 there's
>> this for browsers that don't support (what they've called) XDomainRequest:
>>
>> if (pairs.length > 0) {
>> fullUrl += "/?" + pairs.join("&");
>> }
>>
>> When I'm POSTing, pairs length is zero and so URL doesn't have a
>> trailing slash. I changed their code to
>>
>> fullUrl += "/";
>> if (pairs.length > 0) {
>> fullUrl += "?" + pairs.join("&");
>> }
>>
>> and POSTing now works.
>
> It is strange software where the trailing slash in a URI is necessary.
>
> Do they encodeURIComponent() the elements of “pairs” before join()ing it?
>
I think so. I found this
pairs.push(prop + "=" + encodeURIComponent(cfg.params[prop]));
Andrew Poulos
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2014-08-03 19:16 +0200 |
| Message-ID | <17377960.EH8SsSYXrz@PointedEars.de> |
| In reply to | #25615 |
Andrew Poulos wrote:
> On 3/08/2014 5:43 PM, Thomas 'PointedEars' Lahn wrote:
>> Andrew Poulos wrote:
>>> I changed their code to
>>>
>>> fullUrl += "/";
>>> if (pairs.length > 0) {
>>> fullUrl += "?" + pairs.join("&");
>>> }
>>> […]
>>
>> […]
>> Do they encodeURIComponent() the elements of “pairs” before join()ing it?
>
> I think so. I found this
>
> pairs.push(prop + "=" + encodeURIComponent(cfg.params[prop]));
Apparently they have neglected to encode the parameter name as well.
This looks like it could be from
var fullUrl = "";
var pairs = [];
// …
for (var prop in cfg.params) {
if (cfg.params.hasOwnProperty(prop)) {
pairs.push(prop + "=" + encodeURIComponent(cfg.params[prop]));
}
}
fullUrl += "/";
if (pairs.length > 0) {
fullUrl += "?" + pairs.join("&");
}
If so, the following would be safer and could be more efficient, provided
the used ES-5+-specified methods are either built-in or emulated:
var o = cfg.params;
var pairs = Object.keys(o).map(
function (key) {
return [key, this[key]].map(encodeURIComponent).join("=");
},
o
).join("&");
// …
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys>
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map>
--
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not Cc: me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Andrew Poulos <ap_prog@hotmail.com> |
|---|---|
| Date | 2014-08-04 07:29 +1000 |
| Message-ID | <R_KdnV3Pzs0bN0POnZ2dnUVZ_rqdnZ2d@westnet.com.au> |
| In reply to | #25619 |
On 4/08/2014 3:16 AM, Thomas 'PointedEars' Lahn wrote:
> Andrew Poulos wrote:
>
>> On 3/08/2014 5:43 PM, Thomas 'PointedEars' Lahn wrote:
>>> Andrew Poulos wrote:
>>>> I changed their code to
>>>>
>>>> fullUrl += "/";
>>>> if (pairs.length > 0) {
>>>> fullUrl += "?" + pairs.join("&");
>>>> }
>>>> […]
>>>
>>> […]
>>> Do they encodeURIComponent() the elements of “pairs” before join()ing it?
>>
>> I think so. I found this
>>
>> pairs.push(prop + "=" + encodeURIComponent(cfg.params[prop]));
>
> Apparently they have neglected to encode the parameter name as well.
>
> This looks like it could be from
>
> var fullUrl = "";
> var pairs = [];
>
> // …
>
> for (var prop in cfg.params) {
> if (cfg.params.hasOwnProperty(prop)) {
> pairs.push(prop + "=" + encodeURIComponent(cfg.params[prop]));
> }
> }
>
> fullUrl += "/";
> if (pairs.length > 0) {
> fullUrl += "?" + pairs.join("&");
> }
>
> If so, the following would be safer and could be more efficient, provided
> the used ES-5+-specified methods are either built-in or emulated:
>
> var o = cfg.params;
>
> var pairs = Object.keys(o).map(
> function (key) {
> return [key, this[key]].map(encodeURIComponent).join("=");
> },
> o
> ).join("&");
>
> // …
>
> <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys>
> <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map>
That's great. I'll pass it on to them but I remember when TinCan was in
beta that I made a number of suggestions to them about some of their
coding and they didn't take constructive criticism too well.
Andrew Poulos
[toc] | [prev] | [next] | [standalone]
| From | John Harris <niam@jghnorth.org.uk.invalid> |
|---|---|
| Date | 2014-08-03 16:46 +0100 |
| Message-ID | <b8mst9h7pdhpvig4escucsqoe7ibi0o8of@4ax.com> |
| In reply to | #25612 |
On Sun, 03 Aug 2014 00:08:25 +0200, Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote: >JJ wrote: >^^ >Please post here using your real name in the From header field. <snip> Why? No-one has ever explained why this should be a rule in comp.lang.javascript. No-one has ever specified what a 'real' name is. John PS But it's unlikely to be 'PointedEars'. And why should we assume that Thomas Lahn is the author's real name ?
[toc] | [prev] | [next] | [standalone]
| From | Tim Streater <timstreater@greenbee.net> |
|---|---|
| Date | 2014-08-03 16:51 +0100 |
| Message-ID | <030820141651502191%timstreater@greenbee.net> |
| In reply to | #25616 |
In article <b8mst9h7pdhpvig4escucsqoe7ibi0o8of@4ax.com>, John Harris <niam@jghnorth.org.uk.invalid> wrote: > On Sun, 03 Aug 2014 00:08:25 +0200, Thomas 'PointedEars' Lahn > <PointedEars@web.de> wrote: > > >JJ wrote: > >^^ > >Please post here using your real name in the From header field. > <snip> > > Why? > > No-one has ever explained why this should be a rule in > comp.lang.javascript. No-one has ever specified what a 'real' name is. It isn't a rule because there are no rules. So feel free to tell PointyHead to fuck off, as I do from time to time. -- "People don't buy Microsoft for quality, they buy it for compatibility with what Bob in accounting bought last year. Trace it back - they buy Microsoft because the IBM Selectric didn't suck much" - P Seebach, afc
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2014-08-03 18:39 +0200 |
| Message-ID | <1413630.i7XqaxqFML@PointedEars.de> |
| In reply to | #25616 |
John Harris wrote: > On Sun, 03 Aug 2014 00:08:25 +0200, Thomas 'PointedEars' Lahn > <PointedEars@web.de> wrote: Please shorten this to the absolute minimum so that it fits on one line (with max. 80 characters), hence attribution _line_. >> JJ wrote: >> ^^ >> Please post here using your real name in the From header field. > <snip> > > Why? Because it is polite, and it may help to increase one’s audience. > No-one has ever explained why this should be a rule in > comp.lang.javascript. No-one has ever said it were. > No-one has ever specified what a 'real' name is. I am certain someone has. However, common sense already suggests it is the name you find on your ID card, passport, debit card, and so on. > PS But it's unlikely to be 'PointedEars'. > And why should we assume that Thomas Lahn is the author's > real name ? It is customary in electronic discussion media, including Usenet, to specify the nickname in this manner as well, for example to ease recognition and avoid ambiguity. In my case probably only the former, as I am presently unaware of another Thomas Lahn on the Net that I could be confused with. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not Cc: me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | John Harris <niam@jghnorth.org.uk.invalid> |
|---|---|
| Date | 2014-08-04 15:08 +0100 |
| Message-ID | <1t4vt992co3rat60dtn3o0nbm4clh9k6n4@4ax.com> |
| In reply to | #25618 |
On Sun, 03 Aug 2014 18:39:20 +0200, Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote: >John Harris wrote: > >> On Sun, 03 Aug 2014 00:08:25 +0200, Thomas 'PointedEars' Lahn >> <PointedEars@web.de> wrote: > >Please shorten this to the absolute minimum so that it fits on one line >(with max. 80 characters), hence attribution _line_. Why? According to RFC 2822 : "Each header field is logically a single line of characters comprising the field name, the colon, and the field body." even if it's spread over several physical lines. Why do you think an attribution can't be described as a single logical line? Why do you think your attribution is good enough wherever it could be used? <snip> >> No-one has ever specified what a 'real' name is. > >I am certain someone has. However, common sense already suggests it is the >name you find on your ID card, passport, debit card, and so on. <snip> No-one in Britain has had an ID card since the end of World War II. Not everybody has a passport. It's difficult to imagine that Queen Elizabeth has a passport. Anyway, she signs all her official documents Elizabeth R. This is the sort of name that Thomas complains about. No-one can reasonably expect an undercover policeman to use his home name when posting here. It might enable the drugs gang he's investigating to discover he's a policeman. John
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2014-08-04 19:12 +0200 |
| Message-ID | <4502303.bdHrkSXUSf@PointedEars.de> |
| In reply to | #25628 |
John Harris wrote: > On Sun, 03 Aug 2014 18:39:20 +0200, Thomas 'PointedEars' Lahn > <PointedEars@web.de> wrote: >> John Harris wrote: >> >>> On Sun, 03 Aug 2014 00:08:25 +0200, Thomas 'PointedEars' Lahn >>> <PointedEars@web.de> wrote: >> >> Please shorten this to the absolute minimum so that it fits on one line >> (with max. 80 characters), hence attribution _line_. > > Why? Again, common sense, and not originally my idea at all. If the attribution consists of more than one line, it is hard to follow a discussion; the more quotation levels are added, the harder it is. Plus, most of the information in what is commonly called “attribution novels” (overlong attributions) is a duplicate of what can be readily obtained from the header fields of the posting in question. Omitting that duplicate information already achieves the goal of an attribution that helps the reader instead of confusing them. Finally, the number of lines added per quotation level is decreased to a minimum without losing vital context information. Likewise, the quotation character, at least the last one, should be followed by space (corrected by me above, but not below). Good newsreaders, like Mozilla Thunderbird/SeaMonkey and KNode, have these recommendations as their factory settings. > According to RFC 2822 : > "Each header field is logically a single line of characters > comprising the field name, the colon, and the field body." > even if it's spread over several physical lines. Why do you think an > attribution can't be described as a single logical line? The attribution is not a header field, it is part of the message body. > Why do you think your attribution is good enough wherever it could be > used? > > <snip> >>> No-one has ever specified what a 'real' name is. >> >>I am certain someone has. However, common sense already suggests it is >>the name you find on your ID card, passport, debit card, and so on. > <snip> > > No-one in Britain has had an ID card since the end of World War II. > Not everybody has a passport. […] You *know* what I mean. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not Cc: me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | John Harris <niam@jghnorth.org.uk.invalid> |
|---|---|
| Date | 2014-08-06 14:25 +0100 |
| Message-ID | <91b4u9hgmnvlpvnkia6pmpa58knerane3g@4ax.com> |
| In reply to | #25629 |
On Mon, 04 Aug 2014 19:12:32 +0200, Thomas 'PointedEars' Lahn
<PointedEars@web.de> wrote:
> John Harris wrote:
>
> > On Sun, 03 Aug 2014 18:39:20 +0200, Thomas 'PointedEars' Lahn
> > <PointedEars@web.de> wrote:
> >> John Harris wrote:
> >>
> >>> On Sun, 03 Aug 2014 00:08:25 +0200, Thomas 'PointedEars' Lahn
> >>> <PointedEars@web.de> wrote:
> >>
> >> Please shorten this to the absolute minimum so that it fits on one line
> >> (with max. 80 characters), hence attribution _line_.
> >
> > Why?
<snip>
> Plus, most of the information
> in what is commonly called “attribution novels” (overlong attributions) is a
> duplicate of what can be readily obtained from the header fields of the
> posting in question. Omitting that duplicate information already achieves
> the goal of an attribution that helps the reader instead of confusing them.
To quote Dr Johnson, he who wrote the first English dictionary, "I
refute it thus!" :
Thomas Lahn wrote :
> If you can't stand the heat, stay out of the kitchen.
<snip>
> Likewise, the quotation character, at least the last one, should be followed
> by space (corrected by me above, but not below).
> Good newsreaders, like Mozilla Thunderbird/SeaMonkey and KNode, have these
> recommendations as their factory settings.
I don't see why it should but I've changed the setting anyway. Now my
News program writes > > instead of >> :-( This makes lines in
prolific threads go over the desired 80 char maximum.
>
> > According to RFC 2822 :
> > "Each header field is logically a single line of characters
> > comprising the field name, the colon, and the field body."
> > even if it's spread over several physical lines. Why do you think an
> > attribution can't be described as a single logical line?
>
> The attribution is not a header field, it is part of the message body.
How perceptive of you. Do you really think that the concept of logical
lines really can't be used in bodies?
> > Why do you think your attribution is good enough wherever it could be
> > used?
> >
> > <snip>
> >>> No-one has ever specified what a 'real' name is.
> >>
> >>I am certain someone has. However, common sense already suggests it is
> >>the name you find on your ID card, passport, debit card, and so on.
> > <snip>
> >
> > No-one in Britain has had an ID card since the end of World War II.
> > Not everybody has a passport. […]
^^^ Lying quotation
> You *know* what I mean.
No, actually. I still can't guess whether you think Elizabeth R is a
real name.
Nor can I guess which you think this man's 'real' name is : Norfolk,
the Duke of Norfolk, or Edward Fitzalan-Howard.
John
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2014-08-06 20:20 +0100 |
| Message-ID | <8738d9pgq0.fsf@bsb.me.uk> |
| In reply to | #25641 |
John Harris <niam@jghnorth.org.uk.invalid> writes: > On Mon, 04 Aug 2014 19:12:32 +0200, Thomas 'PointedEars' Lahn > <PointedEars@web.de> wrote: <snip> >> Likewise, the quotation character, at least the last one, should be followed >> by space (corrected by me above, but not below). <snip> > I don't see why it should but I've changed the setting anyway. Now my > News program writes > > instead of >> :-( This makes lines in > prolific threads go over the desired 80 char maximum. That's a shame. If it does not have a setting for spacing only the first time some text is quoted, I don't think I'd bother. <snip> -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2014-08-07 21:13 +0200 |
| Message-ID | <1551484.js3NPuJOvE@PointedEars.de> |
| In reply to | #25642 |
Ben Bacarisse wrote: > John Harris […] writes: >> […] Thomas 'PointedEars' Lahn […] wrote: >>> Likewise, the quotation character, at least the last one, should be >>> followed by space (corrected by me above, but not below). >> >> I don't see why it should but I've changed the setting anyway. Now my >> News program writes > > instead of >> :-( This makes lines in >> prolific threads go over the desired 80 char maximum. > > That's a shame. If it does not have a setting for spacing only the > first time some text is quoted, I don't think I'd bother. Because of quotations, the recommendation is to set the word-wrap at 72 to 78 characters per line (I have currently set it to 76, but it can be temporarily disabled). The less characters per line in the original text, the more quotation levels can be added without reformatting quotations, trimming/summarizing them aside. (There is no consensus on whether quotations should be reformatted to fit the 80-characters limit or not; I think they should, with few exceptions, and I do so.) Another newsreader setting that leads to less readable threads is omitting quotation characters for otherwise empty quoted lines, causing jumps in the quotation levels that are particularly disturbing if different colors or shades of a color are used to format different quotation levels. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not Cc: me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web