Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / HttpPostServerProtocol.cs / 1305376 / HttpPostServerProtocol.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Protocols { internal class HttpPostServerProtocolFactory : ServerProtocolFactory { protected override ServerProtocol CreateIfRequestCompatible(HttpRequest request){ if (request.PathInfo.Length < 2) return null; if (request.HttpMethod != "POST") // MethodNotAllowed = 405, return new UnsupportedRequestProtocol(405); return new HttpPostServerProtocol(); } } internal class HttpPostServerProtocol : HttpServerProtocol { internal HttpPostServerProtocol() : base(true) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EditingCommands.cs
- ProgressPage.cs
- KeysConverter.cs
- BooleanAnimationUsingKeyFrames.cs
- ResourceManager.cs
- ViewBase.cs
- ZipIOExtraFieldZip64Element.cs
- PasswordPropertyTextAttribute.cs
- EntityStoreSchemaGenerator.cs
- BitHelper.cs
- mactripleDES.cs
- NativeMethods.cs
- SimpleTypeResolver.cs
- ThreadAbortException.cs
- BlurEffect.cs
- TemplateBuilder.cs
- PinnedBufferMemoryStream.cs
- CodeCatchClause.cs
- OpenFileDialog.cs
- WindowsFormsLinkLabel.cs
- XPathAxisIterator.cs
- Span.cs
- GridViewCancelEditEventArgs.cs
- TextUtf8RawTextWriter.cs
- ThrowHelper.cs
- BindingCollection.cs
- XmlCodeExporter.cs
- DeclarationUpdate.cs
- VerticalConnector.xaml.cs
- CompilerGeneratedAttribute.cs
- XhtmlTextWriter.cs
- DateTimeOffsetConverter.cs
- GeometryModel3D.cs
- BamlCollectionHolder.cs
- RtfControls.cs
- BoundField.cs
- ContentFilePart.cs
- SqlFunctionAttribute.cs
- ObsoleteAttribute.cs
- ConsumerConnectionPointCollection.cs
- AbstractDataSvcMapFileLoader.cs
- DataTrigger.cs
- FileSystemWatcher.cs
- UIElementCollection.cs
- PartManifestEntry.cs
- TypefaceCollection.cs
- Keywords.cs
- LiteralTextParser.cs
- TemplateNameScope.cs
- BamlLocalizableResourceKey.cs
- ItemContainerProviderWrapper.cs
- TextRunCache.cs
- TreeView.cs
- SymmetricKey.cs
- ECDiffieHellmanCngPublicKey.cs
- Boolean.cs
- IssuanceTokenProviderBase.cs
- GradientBrush.cs
- ArgumentReference.cs
- MessageOperationFormatter.cs
- OrderByBuilder.cs
- XmlSchemaDatatype.cs
- XPathMultyIterator.cs
- ResourcePermissionBase.cs
- DataObjectMethodAttribute.cs
- XmlSchemaSimpleContent.cs
- ZoneMembershipCondition.cs
- MergeFailedEvent.cs
- ScriptingScriptResourceHandlerSection.cs
- TextDecorations.cs
- DockPattern.cs
- Filter.cs
- SQLRoleProvider.cs
- MembershipSection.cs
- TimeZone.cs
- ZipFileInfoCollection.cs
- SessionIDManager.cs
- HighlightComponent.cs
- ParagraphVisual.cs
- ByteAnimationUsingKeyFrames.cs
- RenderData.cs
- TreeNodeStyleCollection.cs
- OpenTypeCommon.cs
- DataGridViewCellFormattingEventArgs.cs
- XMLSchema.cs
- DummyDataSource.cs
- HtmlInputSubmit.cs
- WriteFileContext.cs
- _BaseOverlappedAsyncResult.cs
- WebControlAdapter.cs
- TimersDescriptionAttribute.cs
- FixedHighlight.cs
- WebScriptEnablingElement.cs
- FlowchartDesigner.Helpers.cs
- XsltInput.cs
- ListDictionary.cs
- CompilerGlobalScopeAttribute.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- MenuDesigner.cs
- DefaultPerformanceCounters.cs