Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e2645dec
Commit
e2645dec
authored
Mar 26, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added nsIChannel::SetContentType implementation.
parent
91800118
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
nsio.c
dlls/mshtml/nsio.c
+9
-2
No files found.
dlls/mshtml/nsio.c
View file @
e2645dec
...
...
@@ -485,14 +485,21 @@ static nsresult NSAPI nsChannel_SetContentType(nsIHttpChannel *iface,
const
nsACString
*
aContentType
)
{
nsChannel
*
This
=
NSCHANNEL_THIS
(
iface
);
const
char
*
content_type
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
aContentType
);
nsACString_GetData
(
aContentType
,
&
content_type
);
TRACE
(
"content_type %s
\n
"
,
content_type
);
heap_free
(
This
->
content_type
);
This
->
content_type
=
heap_strdupA
(
content_type
);
if
(
This
->
channel
)
return
nsIChannel_SetContentType
(
This
->
channel
,
aContentType
);
FIXME
(
"default action not implemented
\n
"
);
return
NS_ERROR_NOT_IMPLEMENTED
;
return
NS_OK
;
}
static
nsresult
NSAPI
nsChannel_GetContentCharset
(
nsIHttpChannel
*
iface
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment