Closed devspbniif closed 1 year ago
Hi,
I think your header = entry should end with a \ which means a newline there. E.g.
header = Content-Type: application/x-java-jnlp-file\
Then it will likely work without the extra print statement.
Marcel
On Fri, Jan 15, 2021 at 9:20 AM devspbniif notifications@github.com wrote:
[image: Screenshot_1] https://user-images.githubusercontent.com/69792605/104706244-e6a95780-572b-11eb-86d3-af2bf49c2c60.png
[image: Screenshot_2] https://user-images.githubusercontent.com/69792605/104706262-ead57500-572b-11eb-9e81-469d94716689.png
[image: Screenshot_3] https://user-images.githubusercontent.com/69792605/104706272-ed37cf00-572b-11eb-98b6-6836d05620b6.png
[image: Screenshot_4] https://user-images.githubusercontent.com/69792605/104706279-ef9a2900-572b-11eb-8197-df7662405719.png
[image: Screenshot_5] https://user-images.githubusercontent.com/69792605/104706292-f1fc8300-572b-11eb-924a-9657e8aa6806.png
That is how it should be?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/marcelvanherk/Conquest-DICOM-Server/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVDWJKGUTPDGVJK7LWZPDDS2ACGNANCNFSM4WDYMQ3Q .
Nowadays I mostly write the header from the script.
On Fri, 15 Jan 2021, 09:20 devspbniif, notifications@github.com wrote:
[image: Screenshot_1] https://user-images.githubusercontent.com/69792605/104706244-e6a95780-572b-11eb-86d3-af2bf49c2c60.png
[image: Screenshot_2] https://user-images.githubusercontent.com/69792605/104706262-ead57500-572b-11eb-9e81-469d94716689.png
[image: Screenshot_3] https://user-images.githubusercontent.com/69792605/104706272-ed37cf00-572b-11eb-98b6-6836d05620b6.png
[image: Screenshot_4] https://user-images.githubusercontent.com/69792605/104706279-ef9a2900-572b-11eb-8197-df7662405719.png
[image: Screenshot_5] https://user-images.githubusercontent.com/69792605/104706292-f1fc8300-572b-11eb-924a-9657e8aa6806.png
That is how it should be?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/marcelvanherk/Conquest-DICOM-Server/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVDWJKGUTPDGVJK7LWZPDDS2ACGNANCNFSM4WDYMQ3Q .
Hi!
Thanks for the answer!
but, this is how it works: header = Content-Type: application/json\Access-Control-Allow-Origin: *
- two headers
doesn't work like that: header = Content-Type: application/json\Cache-Control: no-cache
or header = Content-Type: application/json\Cache-Control: no-cache\Access-Control-Allow-Origin: *
Best write the header from your script and not use the header ini entry for simplicity,
Marcel
On Mon, Jan 18, 2021 at 5:08 AM devspbniif notifications@github.com wrote:
Hi! Thanks for the answer! but, this is how it works: header = Content-Type: application/json\Access-Control-Allow-Origin: - two headers doesn't work like that: header = Content-Type: application/json\Cache-Control: no-cache or header = Content-Type: application/json\Cache-Control: no-cache\Access-Control-Allow-Origin:
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/marcelvanherk/Conquest-DICOM-Server/issues/11#issuecomment-761982951, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVDWJKN2TGGVJW7LXPOCFLS2O63FANCNFSM4WDYMQ3Q .
Closed as config issue in outdated option
That is how it should be?