I've got a simple command to get a logged in page with all its dependencies:
wget --post-data='user=user&password=password' --page-requisites https://…/login
The server log shows the following (abbreviated for obvious reasons):
- POST /login 302
- GET /account 200
- POST /robots.txt 200 (should be a GET, but it succeeds, so no problem)
- POST /favicon.ico 200 (ditto)
GETting these files works fine, so the URLs are correct, but it appears PageSpeed doesn't like clients POSTing. How can I make
wget use GET for everything except the initial request?
Using GNU Wget 1.18.
Update: Bug submitted.