elasticsearch-dbapi icon indicating copy to clipboard operation
elasticsearch-dbapi copied to clipboard

perform_request must be called with content-type header

Open provtemp opened this issue 2 years ago • 0 comments

https://github.com/preset-io/elasticsearch-dbapi/blob/0d5a93058fc82071169f199bfae85d7b5162a12a/es/baseapi.py#L318 needs to pass a content-type: application/json header, otherwise no requests go through, using

elastic-transport==8.0.1
elasticsearch==8.0.1
elasticsearch-dbapi==0.2.2
SQLAlchemy==1.4.32

provtemp avatar Mar 10 '22 22:03 provtemp