vulnapi
vulnapi copied to clipboard
Fix-cache-control
This pull request fixes a problem with the GetHeaders method in the OAuth and JWT Bearer security schemes. It wasn't handling cases where attack and valid values were nil, which could cause errors. I changed the code to fix this, making sure headers are generated more reliably for requests.
Changes:
-
Fixed errors with type checks in GetHeaders.
-
Improved how attack and valid values are handled in headers.
I look forward to your feedback on these updates!