Skip to content

Conversation

@josesimoes
Copy link
Member

No description provided.

josesimoes added a commit to josesimoes/nanoFramework.WebServer that referenced this pull request Nov 2, 2020
josesimoes added a commit to josesimoes/nanoFramework.WebServer that referenced this pull request Nov 2, 2020
- Add icon as resource (mind that editing a resource file is NOT working in VS2019).
- Add processing for sending favicon (requires previous merge of nanoframework#6).
@josesimoes josesimoes mentioned this pull request Nov 2, 2020
Copy link
Member

@Ellerbach Ellerbach left a comment

Choose a reason for hiding this comment

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

Thanks, good addition, I see other PR, I'll go thru as well. Btw, the list of types is not exhaustive, that just give an idea how to manage this. So if anyone wants more, it's fairly easy to add. Also part of the plan is to add a default parameter where you can specify the type.

@Ellerbach Ellerbach merged commit af203bb into nanoframework:master Nov 3, 2020
Ellerbach added a commit that referenced this pull request Nov 3, 2020
* Add method to return MIME-type given a file name

* Add method to send file content from byte array

- Requires #6 to be merged.

Co-authored-by: Laurent Ellerbach <laurent@ellerbach.net>
Ellerbach pushed a commit that referenced this pull request Nov 3, 2020
* Add method to return MIME-type given a file name

* Add favicon to webserver sample

- Add icon as resource (mind that editing a resource file is NOT working in VS2019).
- Add processing for sending favicon (requires previous merge of #6).
@josesimoes josesimoes deleted the add-content-type branch November 6, 2020 12:13
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.

2 participants