Viktor

Results 161 comments of Viktor

looks like you have a lot of spaces

Hi, thanks! hm... TCP connection close packet signals the other end that the connection is closing, not sure what is going on with your case. May be you are killing...

there is no option to send POST request or add a body to a request, could you add a query parameter instead?

new EventSource("https://example.com/?prompt=Once%20upon%20a%20time&max_tokens=3")

This is not trusted event object, just the plain EventSourcePolyfill object. Have you made the property read-only somehow? var es = Object.freeze(new EventSource(...)) ? or you have created a read-only...

I am not using ionic, how show the typical export look like?

@ejerskov , great, thanks

hm.. should it just use the same object to get the headers? I think, the chance, that this will be standard behavior of native EventSource could be low.

could you update headers during the "error" event instead?