Skip to content

Verify HTTP credentials

One of several reasons for failing to download an ospkg is that the host configuration contains invalid HTTP credentials.

stprov should make a HEAD request to figure out if the credentials are valid.

This would verify a number of other things as well, like

  • DNS resolution
  • TCP connection
  • HTTP/S session

This would also make it possible to print information about download image size.

Edited by Linus Nordberg