On 21 Jan 2022 as I do recall,
Kevin Wells wrote:
> In message <
dd8749ae5...@bazleyfamily.co.uk>
> Harriet Bazley <
har...@bazleyfamily.co.uk> wrote:
>
> >I've been trying to use wget to retrieve a page that is only accessible
> >to logged-in users (user stats - so that I can analyse them and keep a
> >running record of changes).
> >Basically, I can't seem to get the correct syntax for the site to
> >receive/recognise my name and password in the first place, let alone to
> >serve up the stats page requested....
> If you use the -S option you get the server response, which if used woth
> the -o option you can then save it and see what the server is saying.
Well, that's interesting - it's doing a 'set-cookie', but no cookies are
being stored by wget....
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Server: nginx/1.19.6
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
referrer-policy: strict-origin-when-cross-origin
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-download-options: noopen
x-permitted-cross-domain-policies: none
set-cookie: _otwarchive_session=WVRjTGJ4U2dHck5NWXIrRlZXaGhHZmpZSjRxODZCa2hodDRwTWFlQ0VUOVJiVmcxVEtDaGNSaU9XRmthWjNRL3ljeXlnY1dCc0F5Q2pCblZNbE9mWk5obVNreC9PT1JVU2Y1YmY1Rkd1OWVxSVlVYkxnSlVDY3FrMlZrNmhVZVB3QVFRdGVGTU9ETk5ZalFEWGVqeDZudllHYUJ5R3VIUTV4OUU0RkZTVkFpZ1ZBd2E2SDJ2a3JvZkdxbkZJYWpCLS1CeTB2dFpxV2kzbUdWYXFpZGpxbTFBPT0%3D--55a268d9001c5202764dff147620a50e8e226676; path=/; expires=Fri, 04 Feb 2022 17:43:11 GMT; HttpOnly
x-request-id: 484a28ab-af27-47b6-bc77-b96615c72331
x-runtime: 0.029676
[snip]
--
Harriet Bazley == Loyaulte me lie ==
It is better to have loved and lost than just to have lost.