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
- DependencyObjectProvider.cs
- DesignerObjectListAdapter.cs
- ClientTargetSection.cs
- DataKeyCollection.cs
- CodeSnippetCompileUnit.cs
- RoleGroup.cs
- CheckBox.cs
- FixUp.cs
- TransactionScopeDesigner.cs
- RemoteTokenFactory.cs
- DeferredTextReference.cs
- ObjectCloneHelper.cs
- ColorConvertedBitmap.cs
- HandlerBase.cs
- ObjectListCommandCollection.cs
- MatrixTransform.cs
- MailAddressCollection.cs
- ArcSegment.cs
- NoClickablePointException.cs
- EntityDataSourceChangedEventArgs.cs
- ListenerElementsCollection.cs
- log.cs
- CqlParserHelpers.cs
- WebPartAuthorizationEventArgs.cs
- DiffuseMaterial.cs
- EntityKey.cs
- TextLine.cs
- AlternateView.cs
- SettingsAttributeDictionary.cs
- TableCell.cs
- VisualStyleRenderer.cs
- OdbcConnectionHandle.cs
- ToolStripDropDownClosingEventArgs.cs
- DecoderReplacementFallback.cs
- SmtpDigestAuthenticationModule.cs
- HttpPostServerProtocol.cs
- PropertyInformation.cs
- translator.cs
- MimeReflector.cs
- StringDictionary.cs
- HostedController.cs
- ApplicationInfo.cs
- ScriptingScriptResourceHandlerSection.cs
- Deflater.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- UpWmlMobileTextWriter.cs
- KeyFrames.cs
- InputQueue.cs
- CodeCommentStatement.cs
- ConnectionInterfaceCollection.cs
- UntypedNullExpression.cs
- ZipPackage.cs
- DataBindEngine.cs
- XmlSchemaGroupRef.cs
- SQLMoneyStorage.cs
- AssemblyLoader.cs
- DetailsViewInsertEventArgs.cs
- UInt32Converter.cs
- PasswordDeriveBytes.cs
- XsltCompileContext.cs
- ThreadAbortException.cs
- OdbcUtils.cs
- ComAdminInterfaces.cs
- PropertyTabAttribute.cs
- MessageQueue.cs
- SqlDependencyUtils.cs
- UriScheme.cs
- Process.cs
- GatewayDefinition.cs
- DesignTimeParseData.cs
- EntityModelSchemaGenerator.cs
- PersonalizationStateInfo.cs
- NumberSubstitution.cs
- Predicate.cs
- DelegatingMessage.cs
- mil_commands.cs
- TimeSpanMinutesConverter.cs
- CurrentTimeZone.cs
- ShapingEngine.cs
- ComponentRenameEvent.cs
- UInt64Converter.cs
- TypeDelegator.cs
- GenerateScriptTypeAttribute.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- DataServiceKeyAttribute.cs
- SendingRequestEventArgs.cs
- WsatAdminException.cs
- UnsafeNativeMethodsPenimc.cs
- AmbientLight.cs
- Control.cs
- QueryResponse.cs
- XmlSubtreeReader.cs
- ComponentDispatcherThread.cs
- CodePageUtils.cs
- CustomTypeDescriptor.cs
- ListBoxAutomationPeer.cs
- Win32.cs
- BuilderPropertyEntry.cs
- Normalization.cs
- QueueTransferProtocol.cs