HAH! Sun

Results 64 comments of HAH! Sun

researching this further I come to the conclusion that (like I said) it is because of this one additional roundtrip for basic auth. the second roundtrip is not done in...

update: I was talking about basic auth here. but to be correct, I am dealing with a digest authentication and not a basic authentication. this fact wont change anything regarding...

I use it on the hello example provided on the docs page. I tried it also in the main function before rendering. the http.Client is used in a package of...

any news to this? being able to use goroutines would be absolutely awesome.

I think the whole "check for application/json header" is in util.go: ``` // decodePayload decodes the payload from the provided request func decodePayload(r *http.Request, payload *map[string]interface{}) *Error { // Check...

@smyrman I've already implemented a complete gridfs with custom routes but now I thought why not give rest-layer a try and implement the routes as a rest-layer-mongo-gridfs `Storer`. and after...

any other interaction with gridfs would already be a fetching or updating metadata (rest-layer resources) anyway. so it basically is only the issue with writing to gridfiles.

and let's remember that python eve does this as well. maybe it's a more specific implementation in python eve because it is based on mongodb strictly (other db handlers are...

@smyrman good question: basically when it comes to gridfs files the "metadata" in "$bucketname.files" is always like this: ``` { "_id" : ObjectId("5890fec3b1c2f9774f0f6b71"), "chunkSize" : 261120, "uploadDate" : ISODate("2017-01-31T21:16:51.834Z"), "length"...

but since POSTing to a gridfile generally means "writing" to that gridfile your POST method in your storer implementation would have to have a way to accept multipart/form-data requests.