Skip to content

Conversation

skiyooka
Copy link
Contributor

Details:

  • Added CSRF token to CookieAuth
  • Specify default media headers for GET only
  • Added a few examples in examples/client
  • Updated README.md

Also see the updated wiki

Setting these during POST broke CookieAuth.

Further testing shows that bd.session.post(..., json=) will set the
content-type header automatically to "application/json" so the defaults are not
needed during POST (nor DELETE).
@skiyooka
Copy link
Contributor Author

I don't really need a code review for this (mostly minor fixes plus sample files). With these changes I am feeling 98% confident that we can enter the code-freeze stage. I've updated the documentation and wouldn't mind having you take a look at that. See my fork to see the shortened README.md and you can look at the wiki.

@skiyooka skiyooka requested a review from mkumykov April 16, 2021 20:27
Copy link
Collaborator

@OffBy0x01 OffBy0x01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me. I've got a few additional examples I may add in tomorrow if I get time.

@skiyooka skiyooka merged commit b9a2128 into blackducksoftware:master Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants