Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
nweb
nweb-23-add-more-extensions.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nweb-23-add-more-extensions.patch of Package nweb
Index: nweb-23/nweb23.c =================================================================== --- nweb-23/nweb23.c +++ nweb-23/nweb23.c 2018-05-18 19:38:45.056006648 +0000 @@ -20,16 +20,23 @@ char *ext; char *filetype; } extensions [] = { - {"gif", "image/gif" }, - {"jpg", "image/jpg" }, - {"jpeg","image/jpeg"}, - {"png", "image/png" }, - {"ico", "image/ico" }, - {"zip", "image/zip" }, - {"gz", "image/gz" }, - {"tar", "image/tar" }, - {"htm", "text/html" }, - {"html","text/html" }, + {"gif", "image/gif" }, + {"jpg", "image/jpg" }, + {"jpeg", "image/jpeg" }, + {"png", "image/png" }, + {"ico", "image/ico" }, + {"svg", "image/svg+xml" }, + {"zip", "image/zip" }, + {"gz", "image/gz" }, + {"xz", "image/xz" }, + {"bz2", "image/bz2" }, + {"tar", "image/tar" }, + {"htm", "text/html" }, + {"html", "text/html" }, + {"txt", "text/plain" }, + {"patch", "text/plain" }, + {"css", "text/css" }, + {"rpm", "application/x-rpm" }, {0,0} }; void logger(int type, char *s1, char *s2, int socket_fd)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor