Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginWbPassThrough.cpp

Issue 4881420963020800: Default to request type SUBDOCUMENT (Closed)
Patch Set: Created Aug. 12, 2014, 1:58 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginWbPassThrough.cpp
===================================================================
--- a/src/plugin/PluginWbPassThrough.cpp
+++ b/src/plugin/PluginWbPassThrough.cpp
@@ -81,15 +81,8 @@
{
return CFilter::contentTypeObject;
}
- else if (ext == L".jsp" || ext == L".php" || ext == L".html")
- {
- return CFilter::contentTypeSubdocument;
- }
- else
- {
- return CFilter::contentTypeAny & ~CFilter::contentTypeSubdocument;
- }
+ return CFilter::contentTypeSubdocument;
Oleksandr 2014/08/12 14:03:01 We don't get any mime type for requests like http:
}
int WBPassthruSink::GetContentType(CString mimeType, CString domain, CString src)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld