2009/10/12 Robert Rohde <[email protected]>:
>> B
>> For action=submit the difference between preview and save is in the result
>> codes right ?
>> I understood earlier that TCP_MISS/302 is a successful save, right ?
>
Upon a successful save, action=submit uses a 302 to redirect to the
page view of the newly updated/created article. So typically, a
successful request to /w/index.php?title=Example&action=submit will
redirect to /wiki/Example using a 302.

>> For action=edit how to interpret /200 vs /302 ?
>
> I don't know when action=edit would give a 302.  It is obviously very
> common, but my attempts to guess where it would come up have failed.
> If you can grab some examples of URLs generating the 302 response it
> might become clear quickly.
>
URLs with &redlink=1 redirect to the page view with a 302.

Roan Kattouw (Catrope)

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to