Closed lasse-aagren closed 9 years ago
@lasse-aagren I'm not sure that any of this work is necessary. Take a look here:
https://github.com/cbeer/ldp/compare/basic_auth
Faraday adds basic auth headers at the very last moment. I don't think it's possible to overwrite them.
@jcoyne well, fact is that it works with, and doesn't without this work :)
edit: seen from my version of active-fedora with basic_auth
2nd edit: wether I put http://username:password@fedorahost:8080/rest in fedora.yml, or use Faraday's basic_auth in the code, these headers dissapear, unless something like this is applied
@lasse-aagren can you write a test to demonstrate that? It's important we have a test so that someone doesn't inadvertently revert your changes in the future.
@jcoyne I've pushed a test
@lasse-aagren this is looking good. Can you squash your commits? @cbeer can you give feedback?
squashed
anything else I should do?
I'm just waiting for @cbeer to weigh in.
any chance this will happen?
:+1:
such that downstream consumer added headers (e.g. basic auth) don't dissapear