8

Fucking garbage piece of shit microsoft httpclient

identical request works in node!

identical request works in postman!

but noooooooo httpclient, you have to add the content length on the content itself, can't add authorization header except through special way, serialization is wrong bunch of shit pile of shit no working shit

Comments
  • 1
    If it rains when you have to go outside, do you curse at the rain?
  • 1
    > "can't add authorization header except through special way"

    Yea, isn't weird that MS didn't make that easy? We've made extension methods to simplify the code I understand it's a base class and we're responsible for bending it to our will, but it seems odd to me that security isn't easy by default.

    Because, what happens if it's not easy? You end up passing user name+password in plain text in the url query string because it was easy.

    Not saying our web site passed that info around in plain text...but...um...never mind.
  • 0
    I excuse my sailor mouth... but I dont excuse the verbose syntax to do such a simple thing... to do this kind of stuff in any other language is far more expressive and concise
Add Comment