Clean up HTTP header generation, provide request-minimization option
castle-lemongrab opened this issue · comments
Castle Lemongrab commented
Currently, this repository of free speech faithfully implements the Parler API per the frontend specification, all the way down to the production of appropriate Referrer:
headers. This often results in extra network requests. In some cases or for some studies of the API, this may be undesirable.
Clean up the _create_extra_headers
function, and provide an option to be less strictly API-conformant in order to minimize request count / server load.