@@ -541,7 +541,7 @@ class TViewer : public TActorBootstrapped<TViewer>, public IViewer {
541541 " HTTP/1.1 204 No Content\r\n "
542542 " Access-Control-Allow-Origin: " + AllowOrigin + " \r\n "
543543 " Access-Control-Allow-Credentials: true\r\n "
544- " Access-Control-Allow-Headers: Content-Type,Authorization,Origin,Accept\r\n "
544+ " Access-Control-Allow-Headers: Content-Type,Authorization,Origin,Accept,X-Trace-Verbosity \r\n "
545545 " Access-Control-Allow-Methods: OPTIONS, GET, POST\r\n "
546546 " Allow: OPTIONS, GET, POST\r\n "
547547 " Content-Type: " + type + " \r\n "
@@ -553,7 +553,7 @@ class TViewer : public TActorBootstrapped<TViewer>, public IViewer {
553553 " HTTP/1.1 204 No Content\r\n "
554554 " Access-Control-Allow-Origin: " + origin + " \r\n "
555555 " Access-Control-Allow-Credentials: true\r\n "
556- " Access-Control-Allow-Headers: Content-Type,Authorization,Origin,Accept\r\n "
556+ " Access-Control-Allow-Headers: Content-Type,Authorization,Origin,Accept,X-Trace-Verbosity \r\n "
557557 " Access-Control-Allow-Methods: OPTIONS, GET, POST\r\n "
558558 " Allow: OPTIONS, GET, POST\r\n "
559559 " Content-Type: " + type + " \r\n "
@@ -672,7 +672,7 @@ void TViewer::FillCORS(TStringBuilder& stream, const TRequestState& request) {
672672 if (origin) {
673673 stream << " Access-Control-Allow-Origin: " << origin << " \r\n "
674674 << " Access-Control-Allow-Credentials: true\r\n "
675- << " Access-Control-Allow-Headers: Content-Type,Authorization,Origin,Accept\r\n "
675+ << " Access-Control-Allow-Headers: Content-Type,Authorization,Origin,Accept,X-Trace-Verbosity \r\n "
676676 << " Access-Control-Allow-Methods: OPTIONS, GET, POST\r\n " ;
677677 }
678678}
0 commit comments