You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.
here's a bit of a problem with accessing SEC filings:
the sec.gov EDGAR archive replies with a HTTP/1.1 404 Not Found to a HEAD request but with HTTP/1.1 200 OK to a GET request for the same URL... this breaks code that relies on HEAD to determine when a file has been changed (usually applies to .xml index files).
this means that apps have to re-download an entire file just to check if has changed... not optimal but this will cause a HUGELY increased traffic volume to the site because applications will fall back to re-downloading entire files instead of just using server headers to determine timestamps.
(or maybe this was their exact intention? to boost their traffic volume numbers artificially?)
here's a bit of a problem with accessing SEC filings:
the sec.gov EDGAR archive replies with a HTTP/1.1 404 Not Found to a HEAD request but with HTTP/1.1 200 OK to a GET request for the same URL... this breaks code that relies on HEAD to determine when a file has been changed (usually applies to .xml index files).
this means that apps have to re-download an entire file just to check if has changed... not optimal but this will cause a HUGELY increased traffic volume to the site because applications will fall back to re-downloading entire files instead of just using server headers to determine timestamps.
(or maybe this was their exact intention? to boost their traffic volume numbers artificially?)
for example:
but if i use HEAD instead, i'm getting:
The text was updated successfully, but these errors were encountered: