Alex

Results 16 comments of Alex

It's part of SortableJS: https://github.com/SortableJS/Sortable/issues/2167

I tried, but WriteMessage has no ACK.

Can you please give an example?

But where is the ACK?

Well it doesn't. I tried it these days (I used the WriteMessage from the example) and the client (a sensor) isn't receiving the ACK. It only works with SetResponse.

Sorry for the late response. I am using the fasthttp package of your example and the go library in version v6.8.5 I added your given Printf to get the Content-Type...

Have you tried it including the parameter: _es.Count.WithIgnoreUnavailable(true)_? if you omit this, it won't fail. Here is some example code: ``` package main import ( "encoding/json" "fmt" "issue-fasthttp/fasthttp" "log" "github.com/elastic/go-elasticsearch/v6"...

I am using it with the workaround by manually setting the content-type. if you want, you can close it. but I think the content-type should be set without a body...

According to the RFC 7231 it is optional for GET. fasthttp is not setting the content-type in my example, it is using it as fallback because no content-type is set...

Well, it's highly unusual to use a body with GET. I would say a good solution without breaking anything would be this: ``` method = "GET" if r.Body != nil...