oduwsdl / archivenow

A Tool To Push Web Resources Into Web Archives
MIT License
403 stars 42 forks source link

Submit URI-R with query string params included #26

Closed machawk1 closed 5 years ago

machawk1 commented 5 years ago

In flask, the <path:path> route does not include the query string. Instead, the request.url must be accessed and the URI-R "scraped" out. This PR consists of one strategy to do it based on the assumptions of the URI hierarchy of the service (i.e., scheme://host/aid/urir).

This would close #22, submitted by @grantat.

grantat commented 5 years ago

Tested. LGTM.