cyga / www_fdw

fdw extension for postgres
http://wiki.postgresql.org/wiki/WWW_FDW
123 stars 21 forks source link

Bugfix for post.content_type at request_serialize_callback #39

Closed KrzysztofCzajkaTURCOM closed 7 years ago

KrzysztofCzajkaTURCOM commented 7 years ago

Problem: With specified post.content_type we have no "Content-Type" header inside request. Example: post.post := true; post.data := E'{\n"since": "'||f_from_date||E'",\n"till": "'||f_to_date||E'"\n}'; post.content_type = 'application/json';

This bugfix solve this problem.