Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rdumusc
Copy link

@rdumusc rdumusc commented May 24, 2017

No description provided.

// HTTP headers for CORS responses
enum class CorsResponseHeader
{
ACCESS_CONTROL_ALLOW_HEADERS,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lower-case and not prefix as this is an enum class?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no prefix, the header is this long ("Access-Control-Allow-Headers"). You're probably right about lower-case, although personally I still find upper-case more readable... since enum class Header in response.h also use upper case that makes it consistent.. but I can change it, no problem ;-)

@rdumusc rdumusc merged commit 2fddb4a into HBPVIS:master May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants