Closed sumeetchhetri closed 5 years ago
This is a Work In Progress, @shabiel can you please review it once and provide feedback so I can consider the same, before finalizing/validating all my changes
Okay. I will get back to you on Monday.
We already have CORS support. It was merged in 2 or 3 weeks ago I think.
--Sam
On Fri, Aug 23, 2019 at 10:01 AM Sumeet Chhetri notifications@github.com wrote:
This is a Work In Progress, @shabiel can you please review it once and provide feedback so I can consider the same, before finalizing/validating all my changes
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
CORS should always be optional for security reasons and we should be able to configure all the required CORS headers as required. So currently the support is incomplete, moreover I have fixed one performance issue while breaking down post/put arguments encoded as form params. Additionally I have added support for a hook/flags to customize the request invocation/handling phase.
On Fri, Aug 23, 2019, 7:39 PM Sam Habiel notifications@github.com wrote:
Okay. I will get back to you on Monday.
We already have CORS support. It was merged in 2 or 3 weeks ago I think.
--Sam
On Fri, Aug 23, 2019 at 10:01 AM Sumeet Chhetri notifications@github.com wrote:
This is a Work In Progress, @shabiel can you please review it once and provide feedback so I can consider the same, before finalizing/validating all my changes
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shabiel/M-Web-Server/pull/35?email_source=notifications&email_token=AAMUHGJEJKF5WMT2MLXIY2LQF7VP3A5CNFSM4IO76AYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5AKFVA#issuecomment-524329684, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMUHGNLC2CXNCWQCKJROU3QF7VP3ANCNFSM4IO76AYA .
@shabiel, did you get a chance to review this, I have already validated and tested all the changes and made necessary code changes required.
Did you see this message I sent you?
After some thought, I decided I cannot accept any part of this pull request, as it's too big, and you introduce bugs in the code ($SY change).
Here's what I want from you in order to accept your changes.
You should also include real life examples of what you are trying to solve. Of your entire pull request, I only see utility for the CORS change. The rest are features I don't particularly want; but will consider them if you provide a real world problem they are trying to solve.
On Wed, Aug 28, 2019 at 5:36 AM Sumeet Chhetri notifications@github.com wrote:
@shabiel https://github.com/shabiel, did you get a chance to review this, I have already validated and tested all the changes and made necessary code changes required.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shabiel/M-Web-Server/pull/35?email_source=notifications&email_token=AAIS3QQRHXOQPJMVPIU5OEDQGZBKTA5CNFSM4IO76AYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5KQHJQ#issuecomment-525665190, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIS3QRJY5ZQHKMGFZAPPYDQGZBKTANCNFSM4IO76AYA .
Sure let me come with separate Pull Requests then
Set server port value in ^%webhttp Add support for CORS configuration (Refer - https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#The_HTTP_response_headers) Set cors configuration in ^%webhttp Add Server execution parameters (Additional custom hooks)